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
|
||||
|
||||
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:
|
||||
types:
|
||||
- opened
|
||||
|
@ -10,9 +18,6 @@ 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-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
|
||||
|
||||
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:
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
needs:
|
||||
- build-artifacts-macOS
|
||||
- build-artifacts-Linux
|
||||
concurrency: release
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
|
Loading…
Reference in a new issue