From 7c3f0b317fa129d774564a9c9ceb43b8795b4cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=BCller?= Date: Wed, 31 Jul 2024 15:36:07 -0700 Subject: [PATCH] Next --- .github/workflows/build-linux.yml | 2 +- .github/workflows/test-kernel.yml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 6507337da..451f56773 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -5,7 +5,7 @@ on: outputs: kernel-url: description: "URL of the built (and uploaded) Linux kernel" - value: ${{ jobs.build.upload-kernel.outputs.artifact-url }} + value: ${{ jobs.upload-kernel.outputs.artifact-url }} jobs: build: diff --git a/.github/workflows/test-kernel.yml b/.github/workflows/test-kernel.yml index 9a053dcd3..6fa35e31f 100644 --- a/.github/workflows/test-kernel.yml +++ b/.github/workflows/test-kernel.yml @@ -31,12 +31,17 @@ jobs: KERNEL_URL: ${{ needs.build-linux-kernel.outputs.kernel-url }} PYTHON: ${{ steps.py312.outputs.python-path }} run: | + # Yes, there appears to be no way to just retrieve the + # uploaded artifact. One can't use actions/download-artifact + # and provide any of the outputs of actions/upload-artifact. + # Neither is it possible to just download the thing directly, + # because contents are unconditionally zipped. Good. Lord. curl -L \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${GH_TOKEN}" \ -H "X-GitHub-Api-Version: 2022-11-28" \ -o linux-kernel.zip \ - ${KERNEL_URL} + "${KERNEL_URL}" unzip linux-kernel.zip cat < main.sh export PYTHON=${PYTHON}