We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 953abba commit 043c536Copy full SHA for 043c536
.github/workflows/build.yml
@@ -2,11 +2,12 @@ name: build
2
3
on:
4
push:
5
- branches:
6
- - main
+ tags:
+ - '*'
7
pull_request:
8
branches:
9
+ - master
10
+ - develop
11
12
jobs:
13
linux:
@@ -36,11 +37,11 @@ jobs:
36
37
run: cmake --build build --parallel
38
39
- name: Publish release
- if: ${{ env.publish_tag }}
40
+ if: startsWith(github.ref, 'refs/tags/')
41
uses: ncipollo/release-action@v1
42
with:
43
allowUpdates: true
- tag: ${{ env.publish_tag }}
44
+ tag: ${{ github.ref_name }}
45
artifacts: "build/bin/cod4x_*.dll"
46
token: ${{ secrets.GITHUB_TOKEN }}
47
0 commit comments