Skip to content

Commit e528c93

Browse files
authored
Create main.yml
1 parent ee677f9 commit e528c93

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/main.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release on Commit
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v2
15+
16+
- name: Set up Git
17+
run: |
18+
git config --global user.email "104694344+SimonPucheu@users.noreply.github.com"
19+
git config --global user.name "Simon Pucheu"
20+
21+
- name: Create Release
22+
id: create_release
23+
uses: actions/create-release@v1
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
with:
27+
tag_name: 1.${{ github.run_number }}
28+
release_name: Release ${{ github.run_number }}

0 commit comments

Comments
 (0)