Skip to content

Commit

Permalink
Alternate version change method
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Jan 4, 2024
1 parent ffe9b99 commit ac19efe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ jobs:
- name: package.json info
id: info
uses: jaywcjlove/github-action-package@main
with:
version: "${{ steps.info.outputs.version }}+${{ github.sha }}"
- run: npm ci
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm run parcel-build
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: npm run electron-build
- run: npx electron-builder --x64 -c.extraMetadata.version="${{ steps.info.outputs.version }}+${{ github.sha }}" -c.win.artifactName="${productName} v${{ steps.info.outputs.version }}.${ext}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v3
Expand Down

0 comments on commit ac19efe

Please sign in to comment.