Skip to content

Commit 5710ef2

Browse files
authored
Create release.yml
1 parent ce404d6 commit 5710ef2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/release.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Main
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v4
11+
- name: Build
12+
run: echo ${{ github.sha }} > Release.txt
13+
- name: Test
14+
run: cat Release.txt
15+
- name: Release
16+
uses: softprops/action-gh-release@v2
17+
if: startsWith(github.ref, 'refs/tags/')
18+
with:
19+
files: Release.txt

0 commit comments

Comments
 (0)