change a bunch of things
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user