github-actions: restrict deploy job on release

This commit is contained in:
Martin Bubel 2024-01-14 23:43:00 +01:00
parent 3dd2e77ca4
commit 15382a4446

View file

@ -213,6 +213,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: [test-windows, test-linux, test-macos, build-linux, build-windows, build-macos]
if: github.event_name == 'release'
steps:
- name: Checkout
uses: actions/checkout@v4