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:
1 parent
0733ff55f3
commit
e2a873f883
1 file changed
+9
-1
@@ -22,8 +22,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: dnf install -yq mkosi git-core zstd qemu-img
|
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
|
- 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
|
- name: Build
|
||||||
env:
|
env:
|
||||||
KEY: ${{ secrets.SECUREBOOT_KEY }}
|
KEY: ${{ secrets.SECUREBOOT_KEY }}
|
||||||
|
|||||||
Reference in new issue
Block a user