Skip to content

Commit 0ddf89d

Browse files
authored
fix: release Github Action (#228)
The Action to create releases upon a tag being pushed to master has stopped working as github.event.base_ref is always null This commit removes the check that the tag has been pushed to the master branch, must ensure in future that tags to trigger releases are pushed to the correct location Contributes to: mhub/qp-planning#7256 Signed-off-by: Dave <[email protected]>
1 parent 94554b1 commit 0ddf89d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/github-build-release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ name: Build and create release
88
jobs:
99
build:
1010
name: Build and upload release binary
11-
if: github.event.base_ref == 'refs/heads/master' # only run if on master branch
1211
runs-on: ubuntu-latest
1312
steps:
1413
- name: Checkout code
@@ -38,4 +37,4 @@ jobs:
3837
upload_url: ${{ steps.create_release.outputs.upload_url }}
3938
asset_path: ./target/demo-all.jar
4039
asset_name: demo-all.jar
41-
asset_content_type: application/java-archive
40+
asset_content_type: application/java-archive

0 commit comments

Comments
 (0)