Skip to content

Commit

Permalink
Use dynamic publish conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
c-po committed Jan 2, 2025
1 parent 4896bbd commit 85ae97b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -374,17 +374,17 @@ jobs:
if_no_files_found: ignore

publish:
needs:
- test_config_load
- test_raid1_install
- test_smoketest_cli
- test_interfaces_cli
- test_encrypted_config_tpm
- build_iso
runs-on: ubuntu-24.04
permissions:
contents: write
if: ${{ success() && (inputs.SKIP_RELEASE_PUBLISHING == 'false') }}
if: ${{ (needs.build_iso.result == 'success') &&
(needs.test_config_load.result == 'success' || inputs.SKIP_SMOKETEST_CONFIG == 'true') &&
(needs.test_raid1_install.result == 'success' || inputs.SKIP_SMOKETEST_RAID1 == 'true') &&
(needs.test_smoketest_cli.result == 'success' || inputs.SKIP_SMOKETEST_CLI == 'true') &&
(needs.test_interfaces_cli.result == 'success' || inputs.SKIP_SMOKETEST_INTERFACES == 'true') &&
(needs.test_encrypted_config_tpm.result == 'success' || inputs.SKIP_SMOKETEST_TPM == 'true') &&
(github.ref == 'refs/heads/dependency-improvements') &&
(inputs.SKIP_RELEASE_PUBLISHING == 'false') }}
steps:
- uses: actions/checkout@v4
- name: Clone vyos-build repo
Expand Down

0 comments on commit 85ae97b

Please sign in to comment.