Create Release

This commit is contained in:
2025-12-04 14:32:51 -05:00
parent 3c293dbca7
commit f017b1322c

View File

@@ -40,9 +40,20 @@ jobs:
CSC_IDENTITY_AUTO_DISCOVERY: false CSC_IDENTITY_AUTO_DISCOVERY: false
run: npx electron-builder --win portable --config electron-builder.yml run: npx electron-builder --win portable --config electron-builder.yml
- name: Upload Windows portable artifact - name: Get version from package.json
uses: actions/upload-artifact@v3 id: version
working-directory: electron-app
run: |
$version = (Get-Content package.json | ConvertFrom-Json).version
echo "VERSION=$version" >> $env:GITHUB_OUTPUT
- name: Create Release and Upload exe
uses: softprops/action-gh-release@v1
with: with:
name: rmtPocketWatcher-Windows-Portable tag_name: v${{ steps.version.outputs.VERSION }}
path: electron-app/release/rmtPocketWatcher-*.exe name: rmtPocketWatcher v${{ steps.version.outputs.VERSION }}
retention-days: 7 draft: false
prerelease: false
files: electron-app/release/rmtPocketWatcher-*.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}