diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5f97f7..e9aeed0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file + 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 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 9ace15e..4286456 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ __pycache__/ build/ dist/ -__main__.spec \ No newline at end of file +anime_rpc.spec \ No newline at end of file