fix: check out with git, sign local builds with a test key #2

Open
Job79 wants to merge 5 commits from fix-ci-and-test-key into main
pull from: fix-ci-and-test-key
Showing only changes of commit 0a68a046ef - Show all commits
+10 -3
View File
@@ -25,11 +25,18 @@ jobs:
contents: read
packages: write
steps:
# Install tools adds Node.js for actions/checkout.
- name: Install tools
run: dnf install -yq mkosi git-core nodejs26
run: dnf install -yq mkosi git-core
# Check out fetches the commit with git, which needs no Node.js and no
# action from GitHub. gitea-runner 6 removed builtin:checkout.
- name: Check out
uses: actions/checkout@v4
env:
AUTH: "Authorization: token ${{ gitea.token }}"
run: |
git init -q
git -c http.extraHeader="$AUTH" fetch -q --depth 1 \
"${{ gitea.server_url }}/${{ gitea.repository }}" "${{ gitea.sha }}"
git checkout -q FETCH_HEAD
- name: Build
env:
KEY: ${{ secrets.SECUREBOOT_KEY }}