Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BrownNPC authored May 3, 2024
1 parent d8eb362 commit 553e698
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,21 @@ jobs:
run: |
pyinstaller --onefile --add-data="protontricks/:protontricks/" --add-data="Injector.exe:." pg3d-injector.py
- name: Move executable to dist folder
run: |
mkdir -p dist
mv pg3d-injector/dist/pg3d-injector dist/
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: pg3d-injector
path: dist/pg3d-injector

- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: "dist/*" # Adjust the path to match your generated executable file
artifacts: ${{ steps.upload.outputs.artifact }}
tag: ${{ github.ref }}
name: Release ${{ github.ref }}
commit: ${{ github.sha }}
Expand Down

0 comments on commit 553e698

Please sign in to comment.