From f8beccdf2d793716b6cb77f7892ba5fb177cc84e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kr=C3=BChlmann?= Date: Mon, 15 Jul 2024 22:49:58 +0200 Subject: [PATCH] Fix artifacts --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 84881ef..8d223c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,6 +47,12 @@ jobs: git config --global safe.directory /github/workspace git fetch --tags + - name: Download build artifacts + uses: actions/download-artifact@v2 + with: + name: reboot-artifacts + path: ./artifacts + - name: Get release tag id: get_tag run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV @@ -77,7 +83,7 @@ jobs: curl -X POST \ -H "Authorization: token $GITHUB_TOKEN" \ -H "Content-Type: application/octet-stream" \ - --data-binary @./path/to/main.efi \ + --data-binary @./artifacts/main.efi \ "${{ env.upload_url }}?name=main.efi" - name: Upload reboot.img @@ -87,5 +93,5 @@ jobs: curl -X POST \ -H "Authorization: token $GITHUB_TOKEN" \ -H "Content-Type: application/octet-stream" \ - --data-binary @./path/to/reboot.img \ + --data-binary @./artifacts/reboot.img \ "${{ env.upload_url }}?name=reboot.img"