.gitea/workflows/release.yml aktualisiert
Some checks failed
Create Release / release (push) Failing after 8s
Some checks failed
Create Release / release (push) Failing after 8s
This commit is contained in:
@ -58,10 +58,10 @@ jobs:
|
|||||||
TOKEN: ${{ secrets.TOKEN }}
|
TOKEN: ${{ secrets.TOKEN }}
|
||||||
OWNER: ${{ env.OWNER }}
|
OWNER: ${{ env.OWNER }}
|
||||||
REPO: ${{ env.REPO }}
|
REPO: ${{ env.REPO }}
|
||||||
TAG: $(git describe --tags)
|
|
||||||
run: |
|
run: |
|
||||||
|
TAG=${GITHUB_REF##*/}
|
||||||
echo "Creating release for tag $TAG in repo $OWNER/$REPO"
|
echo "Creating release for tag $TAG in repo $OWNER/$REPO"
|
||||||
curl -X POST "https://dev.ksite.de/api/v1/repos/${OWNER}/${REPO}/releases" \
|
curl -X POST "https://your.gitea.instance/api/v1/repos/${OWNER}/${REPO}/releases" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "Authorization: token $TOKEN" \
|
-H "Authorization: token $TOKEN" \
|
||||||
-d @- <<EOF
|
-d @- <<EOF
|
||||||
|
Reference in New Issue
Block a user