⚡ Update to GH Actions v4 #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Package Application with Pyinstaller | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: NPM install & Gulp | |
run: npm install | |
- name: Build assets | |
run: gulp | |
- name: Package Application | |
uses: JackMcKew/pyinstaller-action-windows@main | |
with: | |
path: './' | |
spec: 'ctjsWebInstaller.spec' | |
- name: Sign the installer | |
run: gulp sign | |
env: | |
SIGN_PFX: ${{ secrets.SIGN_PFX }} | |
SIGN_PASSWORD: ${{ secrets.SIGN_PASSWORD }} | |
- name: Bump version and push tag | |
id: tag_version | |
uses: mathieudutour/github-tag-action@v6.0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Automatic Releases | |
uses: marvinpinto/action-automatic-releases@v1.2.1 | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: ${{ steps.tag_version.outputs.new_tag }} | |
prerelease: false | |
files: | | |
./dist/windows/*.exe |