Skip to content

Commit

Permalink
fix: released actions
Browse files Browse the repository at this point in the history
  • Loading branch information
camandel committed Sep 4, 2024
1 parent 6691799 commit db3b647
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,17 @@ jobs:
steps:
- name: download
uses: actions/download-artifact@v4
with:
path: artifacts
merge-multiple: true
- name: Upload Archives to Release
env:
UPLOAD_URL: ${{ github.event.release.upload_url }}
API_HEADER: "Accept: application/vnd.github.v3+json"
AUTH_HEADER: "Authorization: token ${{ secrets.GITHUB_TOKEN }}"
run: |
UPLOAD_URL=$(echo -n $UPLOAD_URL | sed s/\{.*//g)
for FILE in artifact/*
for FILE in artifacts/*
do
echo "Uploading ${FILE}";
curl \
Expand All @@ -88,7 +91,7 @@ jobs:
run: |
HASH_TABLE="| SHA256 Hash | Filename |"
HASH_TABLE="${HASH_TABLE}\n|-----|-----|\n"
for FILE in artifact/*
for FILE in artifacts/*
do
FILENAME=$(basename ${FILE})
HASH=$(sha256sum ${FILE} | cut -d ' ' -f 1)
Expand Down

0 comments on commit db3b647

Please sign in to comment.