From 6bf32307c7939cb100594e72254409cc8e6b2323 Mon Sep 17 00:00:00 2001 From: Margen67 Date: Wed, 25 Nov 2020 12:08:01 -0800 Subject: [PATCH] CI: Fix release condition --- .github/workflows/CI.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8b8983e9b..666dc4b82 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -61,12 +61,10 @@ jobs: if-no-files-found: error - uses: softprops/action-gh-release@v1 if: | + github.repository == 'xenia-canary/xenia-canary' && github.event.action != 'pull_request' && + contains(github.ref, 'refs/heads/canary') && matrix.cpu_arch == 'AVX' -# github.repository == 'xenia-canary/xenia-canary' && -# github.event.action != 'pull_request' && -# contains(github.ref, 'refs/heads/canary') && -# matrix.cpu_arch == 'AVX' with: files: '*.zip' tag_name: ${{ steps.prepare_artifacts.outputs.short_commit_sha }}