release making
This commit is contained in:
@@ -107,14 +107,12 @@ jobs:
|
|||||||
echo "TAG=$TAG" >> $GITEA_ENV
|
echo "TAG=$TAG" >> $GITEA_ENV
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
run: |
|
uses: softprops/action-gh-release@v1
|
||||||
curl -X POST "${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/releases" \
|
with:
|
||||||
-H "Authorization: token ${{ secrets.GITEATOKEN }}" \
|
files: build/libs/*.jar
|
||||||
-H "Content-Type: application/json" \
|
tag_name: ${{ env.TAG }}
|
||||||
-d "{
|
env:
|
||||||
\"tag_name\": \"${TAG}\",
|
GITHUB_TOKEN: ${{ secrets.GITEATOKEN }}
|
||||||
\"name\": \"${TAG}\"
|
|
||||||
}"
|
|
||||||
|
|
||||||
- name: Get release ID
|
- name: Get release ID
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user