setup needs relationships

This commit is contained in:
Graham Christensen 2023-05-21 20:34:54 -04:00
parent e6c72f9c32
commit bff88ada04
No known key found for this signature in database
3 changed files with 10 additions and 1 deletions

View file

@ -12,6 +12,9 @@ on:
jobs:
release:
needs:
- build-artifacts-macOS
- build-artifacts-Linux
concurrency: release
runs-on: ubuntu-latest
permissions:

View file

@ -10,9 +10,12 @@ on:
jobs:
release:
needs:
- build-artifacts-macOS
- build-artifacts-Linux
concurrency: release
# Only intra-repo PRs are allowed to have PR artifacts uploaded
if: github.event.pull_request.head.repo.full_name == 'DeterminateSystems/nix-installer' && contains(github.event.pull_request.labels.*.name, 'upload to s3')
if: github.event.pull_request.head.repo.full_name == 'DeterminateSystems/nix-actions-cache' && contains(github.event.pull_request.labels.*.name, 'upload to s3')
runs-on: ubuntu-latest
permissions:
id-token: write # In order to request a JWT for AWS auth

View file

@ -7,6 +7,9 @@ on:
jobs:
release:
needs:
- build-artifacts-macOS
- build-artifacts-Linux
concurrency: release
runs-on: ubuntu-latest
permissions: