minor changes
This commit is contained in:
@@ -5,13 +5,9 @@ on: workflow_dispatch
|
||||
jobs:
|
||||
clone-repo:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
repo-path: ${{ steps.clone.outputs.repo-path }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: artifacts
|
||||
uses: actions/checkout@v4
|
||||
|
||||
arch-build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -27,10 +23,8 @@ jobs:
|
||||
pip install pyinstaller inquirerpy distro
|
||||
- name: Build binary
|
||||
run: |
|
||||
cd /artifacts
|
||||
pyinstaller --onefile --add-data "data/:data/" setup.py
|
||||
cp dist/setup /artifacts/arch-setup
|
||||
working-directory: /artifacts
|
||||
cp dist/setup arch-setup
|
||||
shell: bash
|
||||
|
||||
debian-build:
|
||||
@@ -46,10 +40,8 @@ jobs:
|
||||
pip install pyinstaller inquirerpy distro
|
||||
- name: Build binary
|
||||
run: |
|
||||
cd /artifacts
|
||||
pyinstaller --onefile --add-data "data/:data/" setup.py
|
||||
cp dist/setup /artifacts/debian-setup
|
||||
working-directory: /artifacts
|
||||
cp dist/setup debian-setup
|
||||
shell: bash
|
||||
|
||||
fedora-build:
|
||||
@@ -64,10 +56,8 @@ jobs:
|
||||
pip install inquirerpy distro pyinstaller
|
||||
- name: Build binary
|
||||
run: |
|
||||
cd /artifacts
|
||||
pyinstaller --onefile --add-data "data/:data/" setup.py
|
||||
cp dist/setup /artifacts/fedora-setup
|
||||
working-directory: /artifacts
|
||||
cp dist/setup fedora-setup
|
||||
shell: bash
|
||||
|
||||
upload-artifacts:
|
||||
@@ -77,4 +67,7 @@ jobs:
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: /artifacts/*-setup
|
||||
path: |
|
||||
arch-setup
|
||||
debian-setup
|
||||
fedora-setup
|
||||
|
||||
Reference in New Issue
Block a user