diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index db61a77..1e153ac 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -62,4 +62,10 @@ jobs: \"prerelease\": true, \"tag_name\": \"$VERSION\" }") - echo $ID + echo "Uploading Build to Release" + curl -X 'POST' \ + "https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases/$ID/assets?name=test" \ + -H 'accept: application/json' \ + -H 'Content-Type: multipart/form-data' \ + -H 'Authorization: token ${{ secrets.RELEASE_TOKEN }}' \ + -F 'attachment=@./builds/linux.tar.gz;type=application/gzip'