Atualizar .github/workflows/release-build.yml
Some checks failed
Build / build (push) Has been cancelled

This commit is contained in:
天クマ 2026-05-19 15:49:04 -03:00
commit 4b5ee42547

View file

@ -32,9 +32,10 @@ jobs:
- name: Build with Gradle - name: Build with Gradle
run: ./gradlew buildAll run: ./gradlew buildAll
- name: Upload JARs to release - name: Upload artifacts to release
uses: softprops/action-gh-release@v2.5.0 run: |
with: curl -X POST \
files: build/libs/*.jar -H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
tag_name: ${{ github.ref_name }} -H "Content-Type: application/octet-stream" \
name: ${{ github.ref_name }} 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