Skip to content

Commit

Permalink
add artifact to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nealwp committed Jan 22, 2024
1 parent 0f79404 commit 8308ed9
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,16 @@ jobs:
- name: Build Executable
run: |
pyinstaller --name 'disabilitydude' --noconfirm --onedir --windowed --distpath ".\dist" --add-data "./config;config/" "./src/main.py"
- name: Zip Output
run: |
$hash = (git rev-parse --short HEAD)
$archive = "disabilitydude-$hash.zip"
$ProgressPreference = 'SilentlyContinue'
Compress-Archive -Path .\dist\disabilitydude -Destination ".\dist\$archive" -Force
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: disabilitydude
path: dist/*.zip

0 comments on commit 8308ed9

Please sign in to comment.