This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: Get latest release version
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 * * * *"
|
||||
- cron: "04 * * * *"
|
||||
jobs:
|
||||
get-version:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -15,8 +15,9 @@ jobs:
|
||||
id: version-check
|
||||
run: |
|
||||
curl -sL https://api.github.com/repos/pterodactyl/panel/releases/latest | \
|
||||
jq -r ".tag_name" > "$GITEA_OUTPUT"
|
||||
echo "$GITEA_OUTPUT" > release-versions/panel-latest.txt
|
||||
jq -r ".tag_name" > $VERSION_TAG
|
||||
echo "$VERSION_TAG" > release-versions/panel-latest.txt
|
||||
echo "$PNAEL_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")
|
||||
|
Reference in New Issue
Block a user