From 0dbb4e047df2ef3705c43176c2e9f9a305c76b31 Mon Sep 17 00:00:00 2001 From: aggarwalakshun Date: Mon, 14 Jul 2025 07:51:04 +0530 Subject: [PATCH] add global dir --- .gitea/workflows/release.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 6d60019..6314af1 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -2,6 +2,10 @@ name: Multi Distro Build on: workflow_dispatch +defaults: + run: + working-directory: ./artifacts + jobs: clone-repo: runs-on: ubuntu-latest @@ -23,6 +27,8 @@ jobs: pip install pyinstaller inquirerpy distro - name: Build binary run: | + cd artifacts + ls pyinstaller --onefile --add-data "data/:data/" setup.py cp dist/setup arch-setup shell: bash @@ -40,6 +46,8 @@ jobs: pip install pyinstaller inquirerpy distro - name: Build binary run: | + cd artifacts + ls pyinstaller --onefile --add-data "data/:data/" setup.py cp dist/setup debian-setup shell: bash @@ -56,6 +64,8 @@ jobs: pip install inquirerpy distro pyinstaller - name: Build binary run: | + cd artifacts + ls pyinstaller --onefile --add-data "data/:data/" setup.py cp dist/setup fedora-setup shell: bash @@ -67,7 +77,4 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v4 with: - path: | - arch-setup - debian-setup - fedora-setup + path: artifacts/*-setup