v0.2.0 #2

Merged
siujamo merged 2 commits from develop into main 2026-06-22 11:49:05 +08:00
Showing only changes of commit cdb593bca9 - Show all commits
+7 -5
View File
@@ -61,8 +61,10 @@ jobs:
tar czf "${{ matrix.archive }}" "${{ matrix.binary }}" tar czf "${{ matrix.archive }}" "${{ matrix.binary }}"
fi fi
- name: Upload artifact - name: Upload to release
uses: actions/upload-artifact@v3 run: |
with: curl --fail -X POST \
name: ${{ matrix.archive }} -H "Authorization: Bearer ${{ secrets.GITEA_TOKEN }}" \
path: target/${{ matrix.target }}/release/${{ matrix.archive }} -H "Content-Type: application/octet-stream" \
--data-binary @"target/${{ matrix.target }}/release/${{ matrix.archive }}" \
"${{ github.server_url }}/api/v1/repos/${{ github.repository }}/releases/${{ github.event.release.id }}/assets?name=${{ matrix.archive }}"