Print values to logs
All checks were successful
Get latest release version / get-version (push) Successful in 5s

This commit is contained in:
2024-06-03 22:25:45 -05:00
parent 96eac0ff14
commit ec9f27d722

View File

@@ -1,7 +1,7 @@
name: Get latest release version
on:
schedule:
- cron: "23 * * * *"
- cron: "27 * * * *"
jobs:
get-version:
runs-on: ubuntu-latest
@@ -15,6 +15,7 @@ jobs:
id: version-check
run: |
GITHUB_OUTPUT="VERSION_TAG=$(curl -sL https://api.github.com/repos/pterodactyl/panel/releases/latest | jq -r .tag_name)"
echo "$GITHUB_OUTPUT"
echo "$GITHUB_OUTPUT" > release-versions/panel-latest.txt
- name: Check for modified files
id: git-check
@@ -22,6 +23,7 @@ jobs:
- name: Commit latest release version
if: steps.git-check.outputs.modified == 'true'
run: |
echo "${{ steps.vars.outputs.VERSION_TAG }}"
git config --global user.name 'Mindfang'
git config --global user.email 'mindfang@taco.quest'
git commit -am "Trigger new release autobuild for ${{ steps.vars.outputs.VERSION_TAG }}"