From 8184f4418042e5c8383a3821a38bc3eba0c5c6ff Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Fri, 6 Sep 2024 08:12:38 +0100 Subject: [PATCH] chore: Tweak release-please GH Action Signed-off-by: Gordon Smith --- .github/workflows/release-please.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 18a9a5dd..b02f6ee0 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -2,7 +2,6 @@ on: push: branches: - trunk - - trunk-2.x permissions: contents: write @@ -12,7 +11,7 @@ name: release-please jobs: release-please: - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest steps: - name: Initialize Release Please id: release @@ -46,6 +45,7 @@ jobs: sudo apt-get install -y chromium - name: Export GitHub Actions cache environment variables + if: ${{ steps.release.outputs.release_created }} uses: actions/github-script@v7 with: script: |