Atualizar .github/workflows/release-build.yml
Some checks failed
Build / build (push) Has been cancelled
Some checks failed
Build / build (push) Has been cancelled
This commit is contained in:
parent
7aadf220f5
commit
4b5ee42547
1 changed files with 7 additions and 6 deletions
13
.github/workflows/release-build.yml
vendored
13
.github/workflows/release-build.yml
vendored
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue