add global dir
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user