CI: Fix release condition

This commit is contained in:
Margen67 2020-11-25 12:08:01 -08:00 committed by GitHub
parent d853a92623
commit 6bf32307c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -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 }}