diff --git a/.github/workflows/prepare_post_release.yml b/.github/workflows/prepare_post_release.yml index 619bc5fa1b7..424e8d2b2fe 100644 --- a/.github/workflows/prepare_post_release.yml +++ b/.github/workflows/prepare_post_release.yml @@ -16,16 +16,16 @@ jobs: contains(github.event.pull_request.labels.*.name, 'release:generate') steps: - uses: actions/checkout@v3 - - id: pipeline_context - uses: ./.github/actions/extract_pipeline_context - with: - last_minor: ${{ contains(github.event.pull_request.labels.*.name, 'release:generate-last_minor') }} - uses: ruby/setup-ruby@v1 env: BUNDLE_ONLY: "release" with: ruby-version: "3.2" bundler-cache: true + - id: pipeline_context + uses: ./.github/actions/extract_pipeline_context + with: + last_minor: ${{ contains(github.event.pull_request.labels.*.name, 'release:generate-last_minor') }} - name: "Bump to the development version" run: | bin/release/bump-version \ diff --git a/.github/workflows/prepare_release.yml b/.github/workflows/prepare_release.yml index 2930f31a128..8c2010c71dc 100644 --- a/.github/workflows/prepare_release.yml +++ b/.github/workflows/prepare_release.yml @@ -13,16 +13,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - id: pipeline_context - uses: ./.github/actions/extract_pipeline_context - with: - last_minor: ${{ inputs.last_minor }} - uses: ruby/setup-ruby@v1 env: BUNDLE_ONLY: "release" with: ruby-version: "3.2" bundler-cache: true + - id: pipeline_context + uses: ./.github/actions/extract_pipeline_context + with: + last_minor: ${{ inputs.last_minor }} - name: "Bump version" run: bin/release/bump-version ${{ steps.pipeline_context.outputs.candidate_version }} - name: "Bump docker image version" diff --git a/.github/workflows/update_release_draft.yml b/.github/workflows/update_release_draft.yml index dd3d98f3897..8ec0d34cc6c 100644 --- a/.github/workflows/update_release_draft.yml +++ b/.github/workflows/update_release_draft.yml @@ -16,14 +16,14 @@ jobs: !contains(github.event.pull_request.labels.*.name, 'changelog:skip') steps: - uses: actions/checkout@v3 - - id: pipeline_context - uses: ./.github/actions/extract_pipeline_context - uses: ruby/setup-ruby@v1 env: BUNDLE_ONLY: "release" with: ruby-version: "3.2" bundler-cache: true + - id: pipeline_context + uses: ./.github/actions/extract_pipeline_context - name: "Save Release Draft" run: | bin/release/update-release-draft \