Skip to content

Commit

Permalink
Rename executable to anime_rpc and add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
norinorin committed Oct 24, 2024
1 parent 40cec0b commit 9c705fe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,19 @@ jobs:
runs-on: windows-latest

steps:
- name: Create Executable
- name: Create executable
uses: sayyid5416/pyinstaller@v1
with:
python_ver: '3.10'
spec: 'anime_rpc/__main__.py'
requirements: 'requirements.txt'
upload_exe_with_name: 'anime_rpc'
options: --onefile
options: --onefile, --name anime_rpc
clean_checkout: false
- name: Create release
id: create_release
uses: ncipollo/release-action@v1
with:
tag: latest
allowUpdates: true
artifacts: "./dist/anime_rpc.exe"
replacesArtifacts: true
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__pycache__/
build/
dist/
__main__.spec
anime_rpc.spec

0 comments on commit 9c705fe

Please sign in to comment.