Skip to content

Commit

Permalink
Update README, fix workflow to include asset on release
Browse files Browse the repository at this point in the history
  • Loading branch information
HackXIt committed Nov 27, 2023
1 parent 164dc3d commit 7587470
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/ci_exe_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,11 @@ jobs:
run: ".github/scripts/windows/build_exe.ps1"
shell: powershell -Command "& '{0}'"

- uses: actions/upload-artifact@v2
with:
name: Windows executable (x86_64)
path: dist/

- uses: actions/upload-artifact@v2
with:
name: SpeechJokey-windows-x86_64
path: dist/

- name: Create Release .zip
run: 'Compress-Archive -DestinationPath SpeechJokey-windows-x86_64.${{ github.run_id }}.zip -Path dist\*'
shell: powershell

- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -45,4 +36,14 @@ jobs:
tag_name: ${{ github.run_id }}_windows
release_name: 'Public Build Artifact: Windows ${{ github.run_id }}'
draft: false
prerelease: true
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/SpeechJokey.exe
asset_name: SpeechJokey-windows-x86_64.exe
asset_content_type: application/octet-stream
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ This file needs to be modified according to the following steps:
2. Add source tree after `COLLECT(exe,`: `Tree('src\\'),`
3. Add source dependencies after `a.datas,`: `*[Tree(p) for p in (sdl2.dep_bins + glew.dep_bins)],`

After these modifications, the application can be finalizes by running:
After these modifications, the application can be finalized by running:
```
poetry run pyinstaller SpeechJokey.spec
```

Inside the `dist` output folder a folder with the name `SpeechJokey` can be found. This folder contains the final `.exe` build of the application.

For a detailed step-by-step guide on how to build a Kivy application, see [this written tutorial](https://github.com/CovidCoder/Kivy-App-Package-Windows-Tutorial/blob/master/KivyPackageTut.md). (Keep in mind that the tutorial doesn't use poetry, so any command should be preceeded by `poetry run`)
For a detailed step-by-step guide on how to build a Kivy application, see [this written tutorial](https://github.com/CovidCoder/Kivy-App-Package-Windows-Tutorial/blob/master/KivyPackageTut.md).
_(Keep in mind that the tutorial doesn't use poetry, so any command should be preceeded by `poetry run`)_

# Tutorials for beginner contributors
## How to use Git
Expand Down

0 comments on commit 7587470

Please sign in to comment.