From 4213129cdc2e386ee86d37af3f89dc41320fc1ec Mon Sep 17 00:00:00 2001 From: aerinon Date: Mon, 11 Jan 2021 13:28:15 -0700 Subject: [PATCH] Ci change --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8570d634..2d0a6e7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -215,7 +215,7 @@ jobs: body: ${{ steps.release_notes.outputs.body }} draft: true prerelease: true - if: contains(github.event, 'push') && (contains(github.ref, 'master') || (contains(github.ref, 'stable') && !contains(github.ref, 'unstable')) || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')) + if: contains(github.ref, 'master') || (contains(github.ref, 'stable') && !contains(github.ref, 'unstable')) || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease') # upload linux archive asset - name: Upload Linux Archive Asset id: upload-linux-asset @@ -227,7 +227,7 @@ jobs: asset_path: ../deploy/linux/ALttPDoorRandomizer.tar.gz asset_name: ALttPDoorRandomizer-${{ steps.debug_info.outputs.github_tag }}-linux-bionic.tar.gz asset_content_type: application/gzip - if: contains(github.event, 'push') && (contains(github.ref, 'master') || (contains(github.ref, 'stable') && !contains(github.ref, 'unstable')) || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')) + if: contains(github.ref, 'master') || (contains(github.ref, 'stable') && !contains(github.ref, 'unstable')) || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')) # upload macos archive asset - name: Upload MacOS Archive Asset id: upload-macos-asset @@ -239,7 +239,7 @@ jobs: asset_path: ../deploy/macos/ALttPDoorRandomizer.tar.gz asset_name: ALttPDoorRandomizer-${{ steps.debug_info.outputs.github_tag }}-osx.tar.gz asset_content_type: application/gzip - if: contains(github.event, 'push') && (contains(github.ref, 'master') || (contains(github.ref, 'stable') && !contains(github.ref, 'unstable')) || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')) + if: contains(github.ref, 'master') || (contains(github.ref, 'stable') && !contains(github.ref, 'unstable')) || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease') # upload windows archive asset - name: Upload Windows Archive Asset id: upload-windows-asset @@ -251,4 +251,4 @@ jobs: asset_path: ../deploy/windows/ALttPDoorRandomizer.zip asset_name: ALttPDoorRandomizer-${{ steps.debug_info.outputs.github_tag }}-windows.zip asset_content_type: application/zip - if: contains(github.event, 'push') && (contains(github.ref, 'master') || (contains(github.ref, 'stable') && !contains(github.ref, 'unstable')) || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')) + if: contains(github.ref, 'master') || (contains(github.ref, 'stable') && !contains(github.ref, 'unstable')) || contains(github.ref, 'dev') || contains(github.ref, 'DoorRelease')