add global dir

This commit is contained in:
2025-07-14 07:51:04 +05:30
parent 8bf93e2c30
commit 0dbb4e047d

View File

@@ -2,6 +2,10 @@ name: Multi Distro Build
on: workflow_dispatch on: workflow_dispatch
defaults:
run:
working-directory: ./artifacts
jobs: jobs:
clone-repo: clone-repo:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -23,6 +27,8 @@ jobs:
pip install pyinstaller inquirerpy distro pip install pyinstaller inquirerpy distro
- name: Build binary - name: Build binary
run: | run: |
cd artifacts
ls
pyinstaller --onefile --add-data "data/:data/" setup.py pyinstaller --onefile --add-data "data/:data/" setup.py
cp dist/setup arch-setup cp dist/setup arch-setup
shell: bash shell: bash
@@ -40,6 +46,8 @@ jobs:
pip install pyinstaller inquirerpy distro pip install pyinstaller inquirerpy distro
- name: Build binary - name: Build binary
run: | run: |
cd artifacts
ls
pyinstaller --onefile --add-data "data/:data/" setup.py pyinstaller --onefile --add-data "data/:data/" setup.py
cp dist/setup debian-setup cp dist/setup debian-setup
shell: bash shell: bash
@@ -56,6 +64,8 @@ jobs:
pip install inquirerpy distro pyinstaller pip install inquirerpy distro pyinstaller
- name: Build binary - name: Build binary
run: | run: |
cd artifacts
ls
pyinstaller --onefile --add-data "data/:data/" setup.py pyinstaller --onefile --add-data "data/:data/" setup.py
cp dist/setup fedora-setup cp dist/setup fedora-setup
shell: bash shell: bash
@@ -67,7 +77,4 @@ jobs:
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
path: | path: artifacts/*-setup
arch-setup
debian-setup
fedora-setup