Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Downgrade pyinstaller and add static SpeechJokey.spec #14

Downgrade pyinstaller and add static SpeechJokey.spec

Downgrade pyinstaller and add static SpeechJokey.spec #14

name: Windows Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
windows:
runs-on: windows-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v2
- name: Execute script to .exe in Windows
run: ".github/scripts/windows/build_exe_onefile.ps1"
shell: powershell -Command "& '{0}'"
- uses: actions/upload-artifact@v2
with:
name: SpeechJokey-windows-x86_64
path: dist/
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.run_id }}_windows
release_name: 'Public Build Artifact: Windows ${{ github.run_id }}'
draft: false
prerelease: true
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/SpeechJokey.exe
asset_name: SpeechJokey-windows-x86_64.exe
asset_content_type: application/octet-stream