Skip to content

Commit

Permalink
add publishing artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrlaczykowski committed Jun 4, 2024
1 parent f106b2c commit a10cdbd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ jobs:
pyinstaller --onefile update-pc-script.py
- name: Set artifact path
run: |
mkdir artifact
cp dist/update-pc-script/update-pc-script artifact/update-pc-script
echo "artifactPath=artifact/update-pc-script" >> $GITHUB_ENV
echo "artifactPath=dist/update-pc-script/update-pc-script" >> $GITHUB_ENV
- uses: actions/upload-artifact@v4
with:
name: update-pc-script-${{ github.run_number }}.exe
name: update-pc-script-${{ github.run_number }}
path: ${{ env.artifactPath }} # this will resolve to testing/file.txt at runtime

0 comments on commit a10cdbd

Please sign in to comment.