change a bunch of things
Some checks failed
Build on Multiple Distributions / build-on-arch (push) Has been cancelled
Build on Multiple Distributions / build-on-fedora (push) Has been cancelled
Build on Multiple Distributions / build-on-debian (push) Has been cancelled

This commit is contained in:
2025-06-06 06:25:08 +05:30
parent d6d49c90f6
commit 54d16d9731

View File

@@ -18,9 +18,11 @@ jobs:
- name: Install basic dependencies - name: Install basic dependencies
run: | run: |
pacman -Syu --noconfirm pacman -Syu --noconfirm
pacman -S --noconfirm nodejs npm pacman -S --noconfirm git
- uses: actions/checkout@v4 - name: Clone repo
run: |
git clone https://gitea.akshun-lab.uk/akshun/setup-script.git .
- name: Install dependencies - name: Install dependencies
run: | run: |
@@ -36,11 +38,13 @@ jobs:
run: | run: |
pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py
- name: Upload artifact - name: Push to gitea
uses: actions/upload-artifact@v3 run: |
with: curl -X POST \
name: arch-setup -H "Authorization: token ${{ secrets.TOKEN }}" \
path: dist/setup -H "Content-Type: application/octet-stream" \
--data-binary @dist/setup \
"https://gitea.akshun-lab.uk/api/v1/repos/akshun/setup-script/releases"
build-on-debian: build-on-debian:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -51,9 +55,11 @@ jobs:
- name: Install basic dependencies - name: Install basic dependencies
run: | run: |
apt update && apt upgrade -y apt update && apt upgrade -y
apt install -y git nodejs npm apt install -y git
- uses: actions/checkout@v4 - name: Clone repo
run: |
git clone https://gitea.akshun-lab.uk/akshun/setup-script.git .
- name: Install dependencies - name: Install dependencies
run: | run: |
@@ -68,11 +74,13 @@ jobs:
run: | run: |
pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py
- name: Upload artifact - name: Push to gitea
uses: actions/upload-artifact@v3 run: |
with: curl -X POST \
name: debian-setup -H "Authorization: token ${{ secrets.TOKEN }}" \
path: dist/setup -H "Content-Type: application/octet-stream" \
--data-binary @dist/setup \
"https://gitea.akshun-lab.uk/api/v1/repos/akshun/setup-script/releases"
build-on-fedora: build-on-fedora:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -85,7 +93,9 @@ jobs:
dnf up -y dnf up -y
dnf install -y git nodejs npm dnf install -y git nodejs npm
- uses: actions/checkout@v4 - name: Clone repo
run: |
git clone https://gitea.akshun-lab.uk/akshun/setup-script.git .
- name: Install dependencies - name: Install dependencies
run: | run: |
@@ -99,9 +109,10 @@ jobs:
run: | run: |
pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py pyinstaller --onefile --add-data "bash/:bash/" --add-data "prompts/:prompts/" --add-data "config/:config/" setup.py
- name: Upload artifact - name: Push to gitea
uses: actions/upload-artifact@v3 run: |
with: curl -X POST \
name: fedora-setup -H "Authorization: token ${{ secrets.TOKEN }}" \
path: dist/setup -H "Content-Type: application/octet-stream" \
--data-binary @dist/setup \
"https://gitea.akshun-lab.uk/api/v1/repos/akshun/setup-script/releases"