From bff88ada04063acb48eb3e174140c49fae529c2c Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Sun, 21 May 2023 20:34:54 -0400 Subject: [PATCH] setup needs relationships --- .github/workflows/release-branches.yml | 3 +++ .github/workflows/release-prs.yml | 5 ++++- .github/workflows/release-tags.yml | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-branches.yml b/.github/workflows/release-branches.yml index bb182f1..29268ad 100644 --- a/.github/workflows/release-branches.yml +++ b/.github/workflows/release-branches.yml @@ -12,6 +12,9 @@ on: jobs: release: + needs: + - build-artifacts-macOS + - build-artifacts-Linux concurrency: release runs-on: ubuntu-latest permissions: diff --git a/.github/workflows/release-prs.yml b/.github/workflows/release-prs.yml index c8d3c5e..58928d1 100644 --- a/.github/workflows/release-prs.yml +++ b/.github/workflows/release-prs.yml @@ -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 diff --git a/.github/workflows/release-tags.yml b/.github/workflows/release-tags.yml index a8bfe43..bf3a86d 100644 --- a/.github/workflows/release-tags.yml +++ b/.github/workflows/release-tags.yml @@ -7,6 +7,9 @@ on: jobs: release: + needs: + - build-artifacts-macOS + - build-artifacts-Linux concurrency: release runs-on: ubuntu-latest permissions: