Adjust GitHub Actions condition for manual pipeline execution

This commit is contained in:
Frédéric Guillot 2024-02-21 21:15:48 -08:00
parent 4b0648f3d7
commit 8602089a1e
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ jobs:
- name: List generated files
run: ls -l *.deb
build-packages-manually:
if: github.event.workflow_dispatch
if: github.event_name != 'pull_request' && github.event_name != 'push'
name: Build Packages Manually
runs-on: ubuntu-latest
steps:

View File

@ -21,7 +21,7 @@ jobs:
- name: List generated files
run: ls -l *.rpm
build-package-manually:
if: github.event.workflow_dispatch
if: github.event_name != 'pull_request' && github.event_name != 'push'
name: Build Packages Manually
runs-on: ubuntu-latest
steps: