File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Master Release
2
+ permissions : write-all
3
+
4
+ on :
5
+ push :
6
+ branches :
7
+ - master
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Increment Version
14
+ id : tag_version
15
+ uses : mathieudutour/github-tag-action@v6.2
16
+ with :
17
+ github_token : ${{ secrets.GITHUB_TOKEN }}
18
+ release_branches : master
19
+ custom_release_rules : " release:major"
20
+
21
+ - name : Install Dependencies
22
+ run : sudo apt update && sudo apt install -y build-essential ragel lemon cmake
23
+
24
+ - name : Checkout Repository
25
+ uses : actions/checkout@v3
26
+ - run : git fetch --tags
27
+
28
+ - name : Configure CMake
29
+ run : cmake -B ${{github.workspace}}/build
30
+
31
+ - name : Build
32
+ run : cmake --build ${{github.workspace}}/build
33
+
34
+ - name : Create Release
35
+ uses : softprops/action-gh-release@v1
36
+ if : steps.tag_version.outputs.new_tag
37
+ with :
38
+ prerelease : true
39
+ generate_release_notes : true
40
+ files : |
41
+ ${{github.workspace}}/build/gifscript
42
+ tag_name : ${{ steps.tag_version.outputs.new_tag }}
You can’t perform that action at this time.
0 commit comments