From 3e461c3869b509bfa872e0e78e9706f88c6ecde9 Mon Sep 17 00:00:00 2001 From: Sven Kanoldt Date: Sun, 1 Sep 2024 19:22:22 +0200 Subject: [PATCH] fix(ci): ensure the build pipeline has secrets when called by the release pipeline --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d212da6..ae2187f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,9 +6,9 @@ name: Release on: push: tags: - - 'v[0-9]+.[0-9]+.[0-9]+' - - 'v[0-9]+.[0-9]+.[0-9]-alpha.[0-9]+' - - 'v[0-9]+.[0-9]+.[0-9]-beta.[0-9]+' + - "v[0-9]+.[0-9]+.[0-9]+" + - "v[0-9]+.[0-9]+.[0-9]-alpha.[0-9]+" + - "v[0-9]+.[0-9]+.[0-9]-beta.[0-9]+" paths-ignore: - "**/docs/**" - "**.md" @@ -18,6 +18,7 @@ jobs: # call out to build.yml doing-a-build: uses: cargo-generate/cargo-generate/.github/workflows/build.yml@main + secrets: inherit publish: name: post / cargo publish