Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit 55a896b

Browse files
authored
chore(ci): additional fixes to make this work
1 parent 43dbaa8 commit 55a896b

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,17 @@ jobs:
6262
6363
- name: Check semantic versioning
6464
id: semantic-release
65+
shell: bash
6566
run: |
66-
GITHUB_REF=${{ github.head_ref }}
67-
pnpm dlx semantic-release --no-ci --dry-run --plugins @semantic-release/commit-analyzer,@semantic-release/release-notes-generator --branches ${{ github.head_ref }} > output.txt
68-
OUTPUT=$(cat output.txt | base64 -w 0)
69-
echo "::set-output name=releaseNote::$OUTPUT"
67+
GITHUB_REF=$HEAD_REF
68+
pnpm dlx semantic-release --no-ci --dry-run --plugins @semantic-release/commit-analyzer,@semantic-release/release-notes-generator --branches $HEAD_REF > output.txt
69+
OUTPUT=$(cat output.txt | base64 -w 0)
70+
echo "::set-output name=releaseNote::$OUTPUT"
71+
env:
72+
HEAD_REF: ${{ github.head_ref }}
7073

7174
- name: Report semantic versioning
72-
uses: actions/github-script@v3
75+
uses: actions/github-script@v7
7376
if: ${{ steps.semantic-release.outputs.releaseNote != '' }}
7477
with:
7578
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)