Skip to content

Merge pull request #438 from Johann-PLW/main #15

Merge pull request #438 from Johann-PLW/main

Merge pull request #438 from Johann-PLW/main #15

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