diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 66f8c6f..3ea68a3 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -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: