This commit is contained in:
@@ -43,9 +43,10 @@ jobs:
|
||||
- name: Get version from package.json
|
||||
id: version
|
||||
working-directory: electron-app
|
||||
shell: bash
|
||||
run: |
|
||||
$version = (Get-Content package.json | ConvertFrom-Json).version
|
||||
echo "VERSION=$version" >> $env:GITHUB_OUTPUT
|
||||
VERSION=$(node -p "require('./package.json').version")
|
||||
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Create Release and Upload exe
|
||||
uses: softprops/action-gh-release@v1
|
||||
|
||||
Reference in New Issue
Block a user