Skip to content

Commit

Permalink
Update python-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcelibs authored Dec 26, 2023
1 parent 62b0ba2 commit 6d421a0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ name: Python application Cuda
on:
push:
paths:
- 'Local-Windows/**'
- 'Local-Windows/main.py'
- 'Local-Windows/AutoYT.cmd'
- 'Local-Windows/requirements.txt'
pull_request:
paths:
- 'Local-Windows/**'
- 'Local-Windows/main.py'
- 'Local-Windows/AutoYT.cmd'
- 'Local-Windows/requirements.txt'

jobs:
package-and-upload:
Expand All @@ -27,10 +31,10 @@ jobs:
- name: Package Files
run: |
Compress-Archive -Path Local-Windows\* -DestinationPath packaged-files.zip
Compress-Archive -Path Local-Windows\AutoYT.cmd, Local-Windows\main.py, Local-Windows\requirements.txt -DestinationPath "Python application Cuda.zip"
- name: Upload Packaged Files as Artifact
uses: actions/upload-artifact@v2
with:
name: Python application Cuda
path: packaged-files.zip
name: Python-application-Cuda
path: "Python application Cuda.zip"

0 comments on commit 6d421a0

Please sign in to comment.