try to create a release exe with github actions #4
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: MealsCount Bulk Optimizer | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Create bulk-optimize Windows tool | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Package Application | |
uses: JackMcKew/pyinstaller-action-windows@main | |
with: | |
path: ./ | |
spec: ./mealscount-bulk-optimize.spec | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: mealscount-bulk-optimize.exe | |
path: dist/ | |
- name: Upload the artifacts | |
uses: skx/github-action-publish-binaries@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
args: 'mealscount-bulk-optimize.exe' |