Skip to content

Commit b934bf3

Browse files
authored
Create main.yml
1 parent b28cb90 commit b934bf3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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@v2
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@v1
17+
with:
18+
tag_name: v1
19+
prerelease: true
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)