os.yml: check out with git
os / os (push) Failing after 1m33s

gitea-runner 6 has no builtin:checkout, and plain Fedora has no Node.js
for actions/checkout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-22 16:00:25 +00:00
1 parent 0733ff55f3
commit e2a873f883
1 file changed
+9 -1
+9 -1
View File
@@ -22,8 +22,16 @@ jobs:
steps:
- name: Install tools
run: dnf install -yq mkosi git-core zstd qemu-img
# Check out fetches the commit with git, because the job image has no
# Node.js for actions/checkout.
- name: Check out
uses: builtin:checkout
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 }}