From a10cdbdb91eb17869b3f5c62fdcf2d64e350e0e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20=C5=81=C4=85czykowski?= Date: Tue, 4 Jun 2024 22:55:57 +0200 Subject: [PATCH] add publishing artifact --- .github/workflows/python-package.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index d47ba30..f0ffe15 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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 \ No newline at end of file