fix(ci): use env vars for input interpolation in workflow run steps (#26520)
Co-authored-by: Alex van Andel <me@alexvanandel.com>
This commit is contained in:
1 parent
b8b9251f76
commit
0df161ef26
3 files changed
+17
-7
No files matched your search
@@ -56,14 +56,18 @@ jobs:
|
||||
- uses: ./.github/actions/yarn-install
|
||||
|
||||
- name: Bump version
|
||||
env:
|
||||
VERSION: ${{ inputs.next_version }}
|
||||
run: |
|
||||
cd apps/web
|
||||
yarn version ${{ inputs.next_version }}
|
||||
yarn version "$VERSION"
|
||||
|
||||
- name: Commit changes
|
||||
env:
|
||||
VERSION: ${{ inputs.next_version }}
|
||||
run: |
|
||||
git add .
|
||||
git commit -m "chore: release v${{ inputs.next_version }}"
|
||||
git commit -m "chore: release v$VERSION"
|
||||
git push
|
||||
|
||||
- name: Draft release
|
||||
|
||||
Reference in new issue
Block a user