Don't run build.yaml ever, let the release-* jobs trigger it
This commit is contained in:
parent
346330fda1
commit
cef074e3b3
1
.github/workflows/build.yaml
vendored
1
.github/workflows/build.yaml
vendored
|
@ -1,7 +1,6 @@
|
||||||
name: Build artifacts
|
name: Build artifacts
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
|
||||||
|
|
4
.github/workflows/release-branches.yml
vendored
4
.github/workflows/release-branches.yml
vendored
|
@ -1,8 +1,7 @@
|
||||||
name: Release Branch
|
name: Release Branch
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_run:
|
push:
|
||||||
workflows: ["Build artifacts"]
|
|
||||||
branches:
|
branches:
|
||||||
# NOTE: make sure any branches here are also valid directory names,
|
# NOTE: make sure any branches here are also valid directory names,
|
||||||
# otherwise creating the directory and uploading to s3 will fail
|
# otherwise creating the directory and uploading to s3 will fail
|
||||||
|
@ -20,6 +19,7 @@ jobs:
|
||||||
concurrency: release
|
concurrency: release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
|
contents: read
|
||||||
id-token: write # In order to request a JWT for AWS auth
|
id-token: write # In order to request a JWT for AWS auth
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
8
.github/workflows/release-tags.yml
vendored
8
.github/workflows/release-tags.yml
vendored
|
@ -1,14 +1,6 @@
|
||||||
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*.*.*"
|
||||||
|
|
Loading…
Reference in a new issue