Skip to content

Commit 7d78d96

Browse files
committed
build: use only yarn
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 304e912 commit 7d78d96

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,15 @@ jobs:
8484
- name: git commit & push back
8585
run: |
8686
set -eux
87+
GCOMMIT_MESSAGE="${COMMIT_MESSAGE//%s/$VERSION_PLAIN}"
8788
git add package.json yarn.lock
8889
git commit -s -m "$GCOMMIT_MESSAGE"
8990
git tag "$GTAG_NAME"
9091
git push --follow-tags
9192
env:
92-
GCOMMIT_MESSAGE: ${{ github.event.inputs.commitMessage }}
93+
COMMIT_MESSAGE: ${{ github.event.inputs.commitMessage }}
9394
GTAG_NAME: ${{ steps.bump.outputs.version }}
95+
VERSION_PLAIN: ${{ steps.bump.outputs.version_plain }}
9496

9597
build:
9698
needs: [ "bump" ]
@@ -136,14 +138,16 @@ jobs:
136138
if-no-files-found: error
137139

138140
test-licenses:
139-
needs: [ 'build' ]
141+
needs: [ 'bump', 'build' ]
140142
name: test licenses
141143
runs-on: ubuntu-latest
142144
timeout-minutes: 10
143145
steps:
144146
- name: Checkout
145147
# see https://github.com/actions/checkout
146148
uses: actions/checkout@v5
149+
with:
150+
ref: ${{ needs.bump.outputs.version }}
147151
- name: install tools
148152
run: pip install -r tools/test-3rd-party-licenses.requirements.txt
149153
- name: Setup Node.js ${{ env.NODE_ACTIVE_LTS }}
@@ -312,4 +316,4 @@ jobs:
312316
name: ${{ needs.bump.outputs.version_plain }}
313317
prerelease: ${{ github.event.inputs.prerelease }}
314318
files: '${{ env.ASSETS_DIR }}/*'
315-
target_commitish: ${{ github.head_ref || github.ref_name }}
319+
# If a tag already has a GitHub release, the existing release will be updated with the release assets.

0 commit comments

Comments
 (0)