Skip to content

Commit

Permalink
Set the BUNDLE_ONLY env var for the whole workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Dec 11, 2023
1 parent bcdc87e commit 26420ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prepare_post_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ on:
jobs:
prepare:
runs-on: ubuntu-latest
env:
BUNDLE_ONLY: "release"
if: |
github.event.pull_request.merged == true &&
contains(github.event.pull_request.labels.*.name, 'release:generate')
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
env:
BUNDLE_ONLY: "release"
with:
ruby-version: "3.2"
bundler-cache: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prepare_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ on:
jobs:
prepare:
runs-on: ubuntu-latest
env:
BUNDLE_ONLY: "release"
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
env:
BUNDLE_ONLY: "release"
with:
ruby-version: "3.2"
bundler-cache: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update_release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
env:
BUNDLE_ONLY: "release"
runs-on: ubuntu-latest
env:
BUNDLE_ONLY: "release"
if: |
(github.event.pull_request.merged == true) &&
!contains(github.event.pull_request.labels.*.name, 'changelog:skip')
Expand Down

0 comments on commit 26420ed

Please sign in to comment.