diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 6314af1..78a17ea 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -2,10 +2,6 @@ name: Multi Distro Build on: workflow_dispatch -defaults: - run: - working-directory: ./artifacts - jobs: clone-repo: runs-on: ubuntu-latest @@ -27,8 +23,7 @@ jobs: pip install pyinstaller inquirerpy distro - name: Build binary run: | - cd artifacts - ls + cd ${GITHUB_WORKSPACE} pyinstaller --onefile --add-data "data/:data/" setup.py cp dist/setup arch-setup shell: bash @@ -46,8 +41,7 @@ jobs: pip install pyinstaller inquirerpy distro - name: Build binary run: | - cd artifacts - ls + cd ${GITHUB_WORKSPACE} pyinstaller --onefile --add-data "data/:data/" setup.py cp dist/setup debian-setup shell: bash @@ -64,8 +58,7 @@ jobs: pip install inquirerpy distro pyinstaller - name: Build binary run: | - cd artifacts - ls + cd ${GITHUB_WORKSPACE} pyinstaller --onefile --add-data "data/:data/" setup.py cp dist/setup fedora-setup shell: bash @@ -77,4 +70,4 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 with: - path: artifacts/*-setup + path: ${GITHUB_WORKSPACE}/*-setup