Another test
Some checks failed
Get latest release version / get-version (push) Failing after 7s

This commit is contained in:
2024-06-03 22:04:00 -05:00
parent 31c43cd4e0
commit f1079e2fa8

View File

@@ -1,7 +1,7 @@
name: Get latest release version name: Get latest release version
on: on:
schedule: schedule:
- cron: "0 * * * *" - cron: "04 * * * *"
jobs: jobs:
get-version: get-version:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -15,8 +15,9 @@ jobs:
id: version-check id: version-check
run: | run: |
curl -sL https://api.github.com/repos/pterodactyl/panel/releases/latest | \ curl -sL https://api.github.com/repos/pterodactyl/panel/releases/latest | \
jq -r ".tag_name" > "$GITEA_OUTPUT" jq -r ".tag_name" > $VERSION_TAG
echo "$GITEA_OUTPUT" > release-versions/panel-latest.txt echo "$VERSION_TAG" > release-versions/panel-latest.txt
echo "$PNAEL_VERSION=$VERSION_TAG"
- name: Check for modified files - name: Check for modified files
id: git-check id: git-check
run: echo ::set-output name=modified::$([ -z "`git status --porcelain`" ] && echo "false" || echo "true") run: echo ::set-output name=modified::$([ -z "`git status --porcelain`" ] && echo "false" || echo "true")