Update .forgejo/workflows/test.yml
All checks were successful
Compile&Test / build (push) Successful in 39s

This commit is contained in:
Derek 2025-04-11 22:36:16 +00:00
parent 2ffa890b4a
commit 628a2fea8c

View file

@ -68,7 +68,7 @@ jobs:
# Continue on error in the following steps to make sure releases still get made even if one of the methods fails
- name: Delete old release if it already exists
run: gh release delete --yes "${RELEASE_VERSION}"
run: git release delete --yes "${RELEASE_VERSION}"
continue-on-error: true
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
@ -86,7 +86,7 @@ jobs:
-f tag_name="${RELEASE_VERSION}" \
--jq ".body" > "${CHANGELOG_FILE}"
cat "${CHANGELOG_FILE}"
gh release create "${RELEASE_VERSION}" -F "${CHANGELOG_FILE}" $PRERELEASE ./build/libs/*.jar
git release create "${RELEASE_VERSION}" -F "${CHANGELOG_FILE}" $PRERELEASE ./build/libs/*.jar
shell: bash
continue-on-error: true
env: