Skip to content

Commit 0f78bf8

Browse files
committed
CI: Fix release workflow
Fixes additional issues in the GitHub release workflow.
1 parent b41f90d commit 0f78bf8

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,14 @@ jobs:
9797
9898
- name: Create GitHub release
9999
uses: actions/github-script@v7
100+
env:
101+
VERSION: ${{ steps.get_version.outputs.version }}
102+
CHANGELOG: ${{ steps.changelog.outputs.content }}
100103
with:
101104
github-token: ${{ secrets.GITHUB_TOKEN }}
102105
script: |
103-
const version = '${{ steps.get_version.outputs.version }}';
104-
const changelog = `${{ steps.changelog.outputs.content }}`;
106+
const version = process.env.VERSION;
107+
const changelog = process.env.CHANGELOG;
105108
const release = await github.rest.repos.createRelease({
106109
owner: context.repo.owner,
107110
repo: context.repo.repo,

0 commit comments

Comments
 (0)