[wip] GitHub action fix

This commit is contained in:
Jarred Sumner
2022-07-23 16:35:59 -07:00
parent 7de90a82b0
commit b09290b9cb

View File

@@ -156,7 +156,7 @@ jobs:
name: release
runs-on: ubuntu-18.04
timeout-minutes: 90
if: github.event_name == 'push'
if: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'pull_request' && github.event.pull_request.merged) }}
needs:
- linux-x64
- linux-aarch64