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}