Update .forgejo/workflows/release.yml
This commit is contained in:
parent
26f007fee5
commit
ed76ddb28d
1 changed files with 2 additions and 2 deletions
|
@ -214,7 +214,7 @@ jobs:
|
|||
REPO="root/resilient"
|
||||
|
||||
# Create release
|
||||
RESPONSE=$(curl -s -X POST "$API/repos/$REPO/releases" \
|
||||
RESPONSE=$(curl -X POST "$API/repos/$REPO/releases" \
|
||||
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{
|
||||
|
@ -228,7 +228,7 @@ jobs:
|
|||
echo "Created release ID: $RELEASE_ID"
|
||||
|
||||
# Upload artifact
|
||||
curl -s -X POST "$API/repos/$REPO/releases/$RELEASE_ID/assets?name=resilient.jar" \
|
||||
curl -X POST "$API/repos/$REPO/releases/$RELEASE_ID/assets?name=resilient.jar" \
|
||||
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
||||
-H "Content-Type: application/java-archive" \
|
||||
--data-binary @"target/resilient*.jar"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue