mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-10-09 00:46:11 +00:00
21 lines
431 B
YAML
21 lines
431 B
YAML
name: Main
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
- name: Build
|
|
run: echo ${{ github.sha }} > Release.txt
|
|
- name: Test
|
|
run: cat Release.txt
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v2
|
|
if: github.ref_type == 'tag'
|
|
with:
|
|
files: |
|
|
Release.txt
|
|
LICENSE
|