From 4b5ee425477eecd390b276f0c6b936956ce6ebf6 Mon Sep 17 00:00:00 2001 From: tenkuma Date: Tue, 19 May 2026 15:49:04 -0300 Subject: [PATCH] Atualizar .github/workflows/release-build.yml --- .github/workflows/release-build.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index b9f7c74..9570712 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -32,9 +32,10 @@ jobs: - name: Build with Gradle run: ./gradlew buildAll - - name: Upload JARs to release - uses: softprops/action-gh-release@v2.5.0 - with: - files: build/libs/*.jar - tag_name: ${{ github.ref_name }} - name: ${{ github.ref_name }} \ No newline at end of file + - name: Upload artifacts to release + run: | + curl -X POST \ + -H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \ + -H "Content-Type: application/octet-stream" \ + https://inspiran.beetal-castor.ts.net/git/api/v1/repos/${{ github.repository }}/releases/tags/${{ github.ref_name }}/assets \ + --data-binary @build/libs/your-artifact.jar \ No newline at end of file