This commit is contained in:
Graham Christensen 2023-05-21 20:56:58 -04:00
parent 472f695787
commit baec1b19f6
No known key found for this signature in database
4 changed files with 19 additions and 0 deletions

View file

@ -4,6 +4,7 @@ on:
pull_request: pull_request:
push: push:
workflow_dispatch: workflow_dispatch:
workflow_call:
jobs: jobs:
build-artifacts-macOS: build-artifacts-macOS:

View file

@ -11,10 +11,14 @@ on:
- completed - completed
jobs: jobs:
build:
uses: ./.github/workflows/build.yaml
release: release:
needs: needs:
- build-artifacts-macOS - build-artifacts-macOS
- build-artifacts-Linux - build-artifacts-Linux
concurrency: release concurrency: release
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:

View file

@ -17,7 +17,14 @@ on:
- labeled - labeled
jobs: jobs:
build:
uses: ./.github/workflows/build.yaml
release: release:
needs:
- build-artifacts-macOS
- build-artifacts-Linux
concurrency: release concurrency: release
# Only intra-repo PRs are allowed to have PR artifacts uploaded # Only intra-repo PRs are allowed to have PR artifacts uploaded
if: github.event.pull_request.head.repo.full_name == 'DeterminateSystems/nix-actions-cache' && 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')

View file

@ -14,7 +14,14 @@ on:
- "v*.*.*" - "v*.*.*"
jobs: jobs:
build:
uses: ./.github/workflows/build.yaml
release: release:
needs:
- build-artifacts-macOS
- build-artifacts-Linux
concurrency: release concurrency: release
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions: