Skip to content

Commit 65afc07

Browse files
committed
FIX
1 parent 204165d commit 65afc07

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build-win.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,13 @@ jobs:
148148
wait-for-completion: true
149149
output-artifact-directory: ${{ env.SIGNED_OUT_DIR }}
150150

151-
# Optional: grab version from package.json for a nice tag
152-
- name: Read app version
151+
- name: Read app version #FIXME!
153152
id: appver
154-
shell: bash
155-
run: echo "version=$(node -p \"require('./package.json').version\")" >> $GITHUB_OUTPUT
156-
157-
# Create/Update a GitHub release and upload the SIGNED files
153+
shell: pwsh
154+
run: |
155+
$ver = (Get-Content package.json -Raw | ConvertFrom-Json).version
156+
"version=$ver" >> $env:GITHUB_OUTPUT
157+
158158
- name: Publish signed artifacts to GitHub Release
159159
uses: softprops/action-gh-release@v2
160160
with:

0 commit comments

Comments
 (0)