fix: check out with git, sign local builds with a test key #2
+3
-10
@@ -25,18 +25,11 @@ jobs:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
# Install tools adds Node.js for actions/checkout.
|
||||
- name: Install tools
|
||||
run: dnf install -yq mkosi git-core
|
||||
# Check out fetches the commit with git. gitea-runner 6 removed
|
||||
# builtin:checkout, and the job image has no Node.js for actions/checkout.
|
||||
run: dnf install -yq mkosi git-core nodejs
|
||||
- name: Check out
|
||||
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
|
||||
uses: actions/checkout@v4
|
||||
- name: Build
|
||||
env:
|
||||
KEY: ${{ secrets.SECUREBOOT_KEY }}
|
||||
|
||||
Reference in new issue
Block a user