diff --git a/.github/workflows/ci_exe_windows.yml b/.github/workflows/ci_exe_windows.yml index 284a2e0..8c1a8de 100644 --- a/.github/workflows/ci_exe_windows.yml +++ b/.github/workflows/ci_exe_windows.yml @@ -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 @@ -45,4 +36,14 @@ jobs: tag_name: ${{ github.run_id }}_windows release_name: 'Public Build Artifact: Windows ${{ github.run_id }}' draft: false - prerelease: true \ No newline at end of file + 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 diff --git a/README.md b/README.md index f32c327..8e5b7d0 100644 --- a/README.md +++ b/README.md @@ -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