idk if this'll work

This commit is contained in:
2025-07-14 07:54:39 +05:30
parent 0dbb4e047d
commit e76b9f5a90

View File

@@ -2,10 +2,6 @@ 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
@@ -27,8 +23,7 @@ jobs:
pip install pyinstaller inquirerpy distro pip install pyinstaller inquirerpy distro
- name: Build binary - name: Build binary
run: | run: |
cd artifacts cd ${GITHUB_WORKSPACE}
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
@@ -46,8 +41,7 @@ jobs:
pip install pyinstaller inquirerpy distro pip install pyinstaller inquirerpy distro
- name: Build binary - name: Build binary
run: | run: |
cd artifacts cd ${GITHUB_WORKSPACE}
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
@@ -64,8 +58,7 @@ jobs:
pip install inquirerpy distro pyinstaller pip install inquirerpy distro pyinstaller
- name: Build binary - name: Build binary
run: | run: |
cd artifacts cd ${GITHUB_WORKSPACE}
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
@@ -77,4 +70,4 @@ jobs:
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
path: artifacts/*-setup path: ${GITHUB_WORKSPACE}/*-setup