v62 #252
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: v55 | |
on: | |
push: | |
paths: .github/workflows/version-check.yml | |
schedule: | |
# ┌──────────────── minute (0 - 59) | |
# │ ┌────────────── hour (0 - 23) | |
# │ │ ┌──────────── day of the month (1 - 31) | |
# │ │ │ ┌────────── month (1 - 12 or JAN-DEC) | |
# │ │ │ │ ┌──────── day of the week (0 - 6 or SUN-SAT) | |
# │ │ │ │ │ | |
# │ │ │ │ │ | |
# │ │ │ │ │ | |
# * * * * * | |
- cron: 0 0 * * * | |
env: | |
SUPPORTED_VERSION: 14957783 | |
jobs: | |
check-version: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install steamctl | |
run: pip install steamctl | |
- name: Check for new version | |
run: | | |
CURRENT_VERSION=$(steamctl --anonymous apps product_info 1966720 --skip-licenses | jq -r .depots.branches.public.buildid) | |
echo "Current version: $CURRENT_VERSION" | |
[ "$CURRENT_VERSION" = "$SUPPORTED_VERSION" ] |