Skip to content

Commit

Permalink
Public release t3, fix commitish
Browse files Browse the repository at this point in the history
  • Loading branch information
jordantgh committed Oct 14, 2023
1 parent 0d66169 commit bb803f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,23 +132,23 @@ jobs:
- name: Upload Public Release Asset for Linux
run: |
UPLOAD_URL=$(echo $RESPONSE | jq -r '.upload_url')
curl -s -X POST "$UPLOAD_URL?name=${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }}_Linux.tar.gz" \
curl -s -X POST "${UPLOAD_URL/\{?name,label\}/?name=${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }}_Linux.tar.gz" \
-H "Authorization: token ${{ secrets.GH_TOKEN }}" \
-H "Content-Type: application/gzip" \
--data-binary @./artifacts/Linux-binary/${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }}_Linux.tar.gz
- name: Upload Public Release Asset for Mac
run: |
UPLOAD_URL=$(echo $RESPONSE | jq -r '.upload_url')
curl -s -X POST "$UPLOAD_URL?name=${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }}_macOS.tar.gz" \
curl -s -X POST "${UPLOAD_URL/\{?name,label\}/?name=${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }}_macOS.tar.gz" \
-H "Authorization: token ${{ secrets.GH_TOKEN }}" \
-H "Content-Type: application/gzip" \
--data-binary @./artifacts/macOS-binary/${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }}_macOS.tar.gz
- name: Upload Public Release Asset for Windows
run: |
UPLOAD_URL=$(echo $RESPONSE | jq -r '.upload_url')
curl -s -X POST "$UPLOAD_URL?name=${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }}_windows.zip" \
curl -s -X POST "${UPLOAD_URL/\{?name,label\}/?name=${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }}_windows.zip" \
-H "Authorization: token ${{ secrets.GH_TOKEN }}" \
-H "Content-Type: application/zip" \
--data-binary @./artifacts/windows-binary/${{ env.PACKAGE_NAME }}_${{ env.PACKAGE_VERSION }}_windows.zip

0 comments on commit bb803f8

Please sign in to comment.