From aec1fb3dfacd1fdeeaf82361fdaf0ff7bb79b2b6 Mon Sep 17 00:00:00 2001 From: Mindfang Date: Tue, 4 Jun 2024 09:00:16 -0500 Subject: [PATCH] Test another format --- .gitea/workflows/monitor.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/monitor.yaml b/.gitea/workflows/monitor.yaml index 77ecca6..4771e0f 100644 --- a/.gitea/workflows/monitor.yaml +++ b/.gitea/workflows/monitor.yaml @@ -1,7 +1,7 @@ name: Get latest release version on: schedule: - - cron: "57 * * * *" + - cron: "1 * * * *" jobs: get-version: @@ -18,16 +18,15 @@ jobs: VERSION_TAG=$(curl -sL https://api.github.com/repos/pterodactyl/panel/releases/latest | jq -r .tag_name) echo "$VERSION_TAG" echo "$VERSION_TAG" > release-versions/panel-latest.txt - echo ::set-output name=version_tag::"$VERSION_TAG" + echo ::set-output name=version::"$VERSION_TAG" - name: Check for modified files id: git-check run: echo ::set-output name=modified::$([ -z "`git status --porcelain`" ] && echo "false" || echo "true") - name: Commit latest release version if: steps.git-check.outputs.modified == 'true' - needs: version-check run: | - echo "${{ steps.version-check.outputs.version-tag }}" + echo "Version tag: ${{ steps.version-check.outputs.version }}" git config --global user.name 'Mindfang' git config --global user.email 'mindfang@taco.quest' - git commit -am "Trigger new release autobuild for ${{ steps.version-check.outputs.version-tag }}" + git commit -am "Trigger new release autobuild for ${{ steps.version-check.outputs.version }}" git push