This commit is contained in:
@@ -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")
|
||||||
|
Reference in New Issue
Block a user