Merge pull request #438 from Johann-PLW/main #15
Workflow file for this run
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: Build ALEAPP executables and generate release | |
on: | |
push: | |
tags: | |
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Package ALEAPP | |
uses: forensicmike/pyinstaller-action-windows@main # Newly forked for latest python build | |
with: | |
path: . | |
spec: aleapp.spec | |
- name: Package ALEAPP GUI | |
uses: forensicmike/pyinstaller-action-windows@main # Newly forked for latest python build | |
with: | |
path: . | |
spec: aleappGUI.spec | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: ALEAPP | |
path: dist/windows | |
- name: Zip All The Things | |
uses: montudor/[email protected] | |
with: | |
args: zip -qq -r dist/ALEAPP-windows.zip dist/windows | |
- name: Lookup Release URL | |
id: githubrelease | |
uses: bruceadams/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | |
- name: Upload Release Asset | |
uses: actions/upload-release-asset@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
upload_url: ${{ steps.githubrelease.outputs.upload_url }} | |
asset_path: dist/ALEAPP-windows.zip | |
asset_name: ALEAPP-windows.zip | |
asset_content_type: application/zip |