minor changes

This commit is contained in:
2025-07-14 07:44:47 +05:30
parent 1fb7988ff8
commit 8bf93e2c30

View File

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