feat(ci): improve workflows (#279)

* feat(ci): improve workflows

* feat(ci): improve workflows

* fix(ci): mass-rebuild.yml

* fix(ci): rename mass-rebuild-recurse.yml
This commit is contained in:
madomado
2023-03-16 23:48:57 +08:00
committed by GitHub
parent 50888ba382
commit 53cc322b93
10 changed files with 27 additions and 285 deletions
+3 -10
View File
@@ -1,4 +1,4 @@
name: Bootstrap Andaman and Subatomic (Fedora 37)
name: Bootstrap Andaman and Subatomic
on:
workflow_dispatch:
@@ -43,7 +43,7 @@ jobs:
- name: Build Subatomic
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
anda build -c anda-37-${{ matrix.arch }} subatomic -p rpm -D "autogitcommit $(git log -1 --format='%H')"
anda build -c anda-${{ matrix.version }}-${{ matrix.arch }} subatomic -p rpm -D "autogitcommit $(git log -1 --format='%H')"
- name: Install Subatomic
run: sudo dnf install -y ./anda-build/rpm/rpms/subatomic-*.rpm
@@ -52,14 +52,7 @@ jobs:
repository: FyraLabs/anda
- name: Build Andaman
run: anda build -c anda-37-${{ matrix.arch }} anda -p rpm
- name: Upload to Subatomic
run: |
subatomic-cli upload --prune \
--server https://subatomic.fyralabs.com \
--token ${{ secrets.SUBATOMIC_TOKEN }} \
terra${{ matrix.version }} anda-build/rpm/rpms/*
run: anda build -c anda-${{ matrix.version }}-${{ matrix.arch }} anda -p rpm
- name: Upload to Subatomic
run: |