File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ paths :
8
+ - Makefile
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
+ uses : actions/checkout@v4
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=$(grep -E '^VERSION[[:space:]]*\?=' Makefile | awk -F'= ' '{print $2}' | tr -d ' ')" >> $GITHUB_OUTPUT
30
+
31
+ - name : Create release
32
+ uses : ./.github/workflows/create-release
33
+ with :
34
+ github_token : ${{ secrets.GITHUB_TOKEN }}
35
+ tag : v${{ steps.get-version.outputs.version }}
You can’t perform that action at this time.
0 commit comments