diff --git a/.gitea/workflows/monitor.yaml b/.gitea/workflows/monitor.yaml index 4f81cdb..ce9e17e 100644 --- a/.gitea/workflows/monitor.yaml +++ b/.gitea/workflows/monitor.yaml @@ -14,10 +14,8 @@ jobs: - name: Fetch release version id: version-check run: | - curl -sL https://api.github.com/repos/pterodactyl/panel/releases/latest | \ - jq -r ".tag_name" > $VERSION_TAG - echo "$VERSION_TAG" > release-versions/panel-latest.txt - echo "$PNAEL_VERSION=$VERSION_TAG" + GITEA_OUTPUT="VERSION_TAG=$(curl -sL https://api.github.com/repos/pterodactyl/panel/releases/latest | jq -r .tag_name)" + echo "$GITEA_OUTPUT" > release-versions/panel-latest.txt - name: Check for modified files id: git-check run: echo ::set-output name=modified::$([ -z "`git status --porcelain`" ] && echo "false" || echo "true") @@ -26,5 +24,5 @@ jobs: run: | git config --global user.name 'Mindfang' git config --global user.email 'mindfang@taco.quest' - git commit -am "Trigger new release autobuild" + git commit -am "Trigger new release autobuild for ${{ steps.vars.outputs.VERSION_TAG }}" git push