pretty sure this won't work
This commit is contained in:
parent
bff88ada04
commit
472f695787
11
.github/workflows/release-prs.yml
vendored
11
.github/workflows/release-prs.yml
vendored
|
@ -1,6 +1,14 @@
|
||||||
name: Release PR
|
name: Release PR
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["Build artifacts"]
|
||||||
|
branches:
|
||||||
|
# NOTE: make sure any branches here are also valid directory names,
|
||||||
|
# otherwise creating the directory and uploading to s3 will fail
|
||||||
|
- "main"
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
types:
|
||||||
- opened
|
- opened
|
||||||
|
@ -10,9 +18,6 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
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')
|
||||||
|
|
11
.github/workflows/release-tags.yml
vendored
11
.github/workflows/release-tags.yml
vendored
|
@ -1,15 +1,20 @@
|
||||||
name: Release Tags
|
name: Release Tags
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["Build artifacts"]
|
||||||
|
branches:
|
||||||
|
# NOTE: make sure any branches here are also valid directory names,
|
||||||
|
# otherwise creating the directory and uploading to s3 will fail
|
||||||
|
- "main"
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v*.*.*"
|
- "v*.*.*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
needs:
|
|
||||||
- build-artifacts-macOS
|
|
||||||
- build-artifacts-Linux
|
|
||||||
concurrency: release
|
concurrency: release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
|
|
Loading…
Reference in a new issue