We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c22fe4a commit a336fbdCopy full SHA for a336fbd
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,35 @@
1
+name: release
2
+
3
+on:
4
+ push:
5
+ # branches:
6
+ # - master
7
+ # paths:
8
+ # - VERSION
9
+ workflow_dispatch:
10
11
+jobs:
12
+ create-release:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Check out ${{ github.repository }}
17
+ uses: actions/checkout@v4
18
19
+ - name: Check out Devolutions/actions
20
21
+ with:
22
+ repository: Devolutions/actions
23
+ ref: v1
24
+ token: ${{ secrets.DEVOLUTIONSBOT_TOKEN }}
25
+ path: ./.github/workflows
26
27
+ - name: Set version
28
+ id: get-version
29
+ run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT
30
31
+ - name: Create release
32
+ uses: ./.github/workflows/create-release
33
34
+ github_token: ${{ secrets.GITHUB_TOKEN }}
35
+ tag: v${{ steps.get-version.outputs.version }}
0 commit comments