-
Notifications
You must be signed in to change notification settings - Fork 25
33 lines (28 loc) · 1.07 KB
/
version-check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: v50
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: 14074548
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" ]