Skip to content

Commit

Permalink
Fix artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruhlmann committed Jul 15, 2024
1 parent df3b17e commit f8beccd
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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"

0 comments on commit f8beccd

Please sign in to comment.