From a5c7060a292f98cb2fa010c725d1f64b74fdf340 Mon Sep 17 00:00:00 2001 From: Dave <18191844+its-dave@users.noreply.github.com> Date: Fri, 3 Dec 2021 12:02:40 +0000 Subject: [PATCH] fix: release Github Action 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 --- .github/workflows/github-build-release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/github-build-release.yml b/.github/workflows/github-build-release.yml index 16c47934..d6388435 100644 --- a/.github/workflows/github-build-release.yml +++ b/.github/workflows/github-build-release.yml @@ -8,7 +8,6 @@ name: Build and create release jobs: build: name: Build and upload release binary - if: github.event.base_ref == 'refs/heads/master' # only run if on master branch runs-on: ubuntu-latest steps: - name: Checkout code @@ -38,4 +37,4 @@ jobs: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./target/demo-all.jar asset_name: demo-all.jar - asset_content_type: application/java-archive \ No newline at end of file + asset_content_type: application/java-archive