Add apt update
Some checks failed
Get latest release version / get-version (push) Failing after 5s

This commit is contained in:
2024-06-03 21:39:17 -05:00
parent 8b74a4fc4a
commit 4e5a382b0f

View File

@@ -1,7 +1,7 @@
name: Get latest release version name: Get latest release version
on: on:
schedule: schedule:
- cron: "35 21 * * *" - cron: "40 21 * * *"
jobs: jobs:
get-version: get-version:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -10,7 +10,7 @@ jobs:
with: with:
token: ${{ secrets.REPO_MOD_TOKEN }} token: ${{ secrets.REPO_MOD_TOKEN }}
- name: Prepare the container - name: Prepare the container
run: apt-get install jq run: apt update && apt install jq
- name: Fetch release version - name: Fetch release version
run: | run: |
curl -sL https://api.github.com/repos/pterodactyl/panel/releases/latest | \ curl -sL https://api.github.com/repos/pterodactyl/panel/releases/latest | \