Skip to content

Commit 018e8bc

Browse files
committed
chore(ci): fix Post-release workflow
1 parent d805b4b commit 018e8bc

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/post-release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ on:
1616
branches:
1717
- 'master'
1818

19+
env:
20+
VERSION: ${{ github.event.inputs.version || 'latest' }}
21+
1922
# touch to trigger
2023
jobs:
2124
cli:
@@ -78,8 +81,8 @@ jobs:
7881
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
7982
run: |
8083
cd packages/cubejs-testing/
81-
npx cubejs-cli@${{ github.event.inputs.version }} create birdbox-test-project -d postgres
82-
export BIRDBOX_CUBEJS_VERSION=${{ github.event.inputs.version }}
84+
npx cubejs-cli@"$VERSION" create birdbox-test-project -d postgres
85+
export BIRDBOX_CUBEJS_VERSION="$VERSION"
8386
yarn run dataset:minimal
8487
yarn run birdbox:cli:postgresql
8588
- name: Slack Failure
@@ -139,7 +142,7 @@ jobs:
139142
run: |
140143
cd packages/cubejs-testing/
141144
export DEBUG=testcontainers
142-
export BIRDBOX_CUBEJS_VERSION=${{ github.event.inputs.version }}
145+
export BIRDBOX_CUBEJS_VERSION="$VERSION"
143146
yarn run dataset:minimal
144147
yarn run birdbox:${{ matrix.target }}
145148
- name: Slack Failure
@@ -204,7 +207,7 @@ jobs:
204207
cd packages/cubejs-testing/
205208
export DEBUG=testcontainers
206209
export BIRDBOX_CYPRESS_BROWSER=${{ matrix.browser }}
207-
export BIRDBOX_CUBEJS_VERSION=${{ github.event.inputs.version }}
210+
export BIRDBOX_CUBEJS_VERSION="$VERSION"
208211
yarn run cypress:install
209212
yarn run dataset:minimal
210213
yarn run cypress:birdbox

0 commit comments

Comments
 (0)