From bfb16af1ea9835138abceafa2f790d98c7c162b1 Mon Sep 17 00:00:00 2001 From: Mindfang Date: Mon, 3 Jun 2024 22:21:01 -0500 Subject: [PATCH] Trying again to pass variable --- .gitea/workflows/monitor.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/monitor.yaml b/.gitea/workflows/monitor.yaml index 2b2b26f..30b6fc2 100644 --- a/.gitea/workflows/monitor.yaml +++ b/.gitea/workflows/monitor.yaml @@ -1,7 +1,7 @@ name: Get latest release version on: schedule: - - cron: "18 * * * *" + - cron: "21 * * * *" jobs: get-version: runs-on: ubuntu-latest @@ -14,8 +14,8 @@ jobs: - name: Fetch release version id: version-check run: | - 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 + GITHUB_OUTPUT="VERSION_TAG=$(curl -sL https://api.github.com/repos/pterodactyl/panel/releases/latest | jq -r .tag_name)" + echo "$GITHUB_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")