ci: Miscellaneous workflow adjustments
diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml
index e82fe60e..3e1c1da7 100644
--- a/.forgejo/workflows/check.yml
+++ b/.forgejo/workflows/check.yml
@@ -21,11 +21,8 @@ jobs:
- name: Checkout code
uses: https://code.forgejo.org/actions/checkout@v5
- - name: Git config
- run: git config --global --add safe.directory "$FORGEJO_WORKSPACE"
-
- name: Build the bootloader (LLVM, default)
- run: ./bootstrap && ./configure --enable-werror --enable-all && make all && make maintainer-clean
+ run: ./bootstrap && ./configure --enable-werror --enable-all && make all && make distclean
- name: Set cross GCC version
run: echo "GCC_VERSION=15.2.0" >> $FORGEJO_ENV
@@ -41,9 +38,6 @@ jobs:
wait $pid
done
- - name: Bootstrap source
- run: ./bootstrap
-
- name: Build the bootloader (GNU, x86)
run: export PATH="$(pwd -P)"/gcc-${{ env.GCC_VERSION }}-nolibc/x86_64-linux/bin:"$PATH" && ./configure TOOLCHAIN_FOR_TARGET=x86_64-linux- --enable-werror --enable-bios --enable-uefi-ia32 --enable-uefi-x86-64 && make all -j$(nproc) && make distclean
diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml
index a8dc2ffb..5c8b561e 100644
--- a/.forgejo/workflows/release.yml
+++ b/.forgejo/workflows/release.yml
@@ -21,16 +21,17 @@ jobs:
- name: Install dependencies
run: pacman --noconfirm -Syu && pacman --needed --noconfirm -S nodejs base-devel gnupg gzip bzip2 lzip zstd git autoconf automake nasm curl mtools llvm clang lld
+ - name: Import GPG public key
+ run: gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys 05D29860D0A0668AAEFB9D691F3C021BECA23821
+
+ - name: Import GPG private key
+ run: echo "$MINTSUKI_PRIVATE_KEY" | gpg --batch --import
+ env:
+ MINTSUKI_PRIVATE_KEY: ${{ secrets.MINTSUKI_PRIVATE_KEY }}
+
- name: Checkout code
uses: https://code.forgejo.org/actions/checkout@v5
- - name: Git config
- run: |
- set -e
- git config --global --add safe.directory "$FORGEJO_WORKSPACE"
- git config --global user.name 'Mintsuki'
- git config --global user.email 'mintsuki@protonmail.com'
-
- name: Package release tarball
run: |
set -e
