Skip to content

Commit

Permalink
GitHub Actions: fix gokr-rebuild-kernel installation
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Aug 1, 2024
1 parent 2ef6a71 commit fc10528
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
run: |
sudo apt update && sudo apt install qemu-system-x86
GOPROXY=direct go install github.com/gokrazy/autoupdate/cmd/...@latest
GOPROXY=direct GOBIN=$PWD/_build go install github.com/gokrazy/autoupdate/cmd/gokr-rebuild-kernel@latest
GOPROXY=direct go install github.com/gokrazy/tools/cmd/gok@latest
GOPROXY=direct go install github.com/gokrazy/bakery/cmd/qemubootery@latest
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
BOOTERY_URL: ${{ secrets.BOOTERY_URL }}
if: ${{ env.GH_USER != 0 }}
run: |
if ! gokr-has-label please-merge && ! gokr-has-label please-boot && ! gokr-has-label please-boot-qemu; then (cd _build && gokr-rebuild-kernel -overwrite_container_executable=docker) && gokr-amend -set_label=please-boot lib vmlinuz; fi
if ! gokr-has-label please-merge && ! gokr-has-label please-boot && ! gokr-has-label please-boot-qemu; then (cd _build && ./gokr-rebuild-kernel -overwrite_container_executable=docker) && gokr-amend -set_label=please-boot lib vmlinuz; fi
- name: Merge if boot successful
env:
Expand Down

0 comments on commit fc10528

Please sign in to comment.