File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 2020 env :
2121 CC : ${{ matrix.cc }}
2222 CXX : ${{ matrix.cxx }}
23+ STEAMRT_SNAPSHOT : latest-steam-client-general-availability
2324 steps :
2425 - name : Checkout
2526 uses : actions/checkout@v4
@@ -38,10 +39,10 @@ jobs:
3839 uses : actions/cache@v4
3940 with :
4041 path : com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
41- key : ${{ runner.os }}-steam-runtime
42+ key : steam-runtime- ${{ env.STEAMRT_SNAPSHOT }}
4243 - name : Download steam-runtime
4344 if : startsWith(matrix.os, 'ubuntu') && steps.cache-steam-runtime.outputs.cache-hit != 'true'
44- run : wget --no-verbose https://repo.steampowered.com/steamrt-images-scout/snapshots/0.20210610.0 /com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
45+ run : wget --no-verbose https://repo.steampowered.com/steamrt-images-scout/snapshots/${{ env.STEAMRT_SNAPSHOT }} /com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
4546 - name : Install steam runtime
4647 if : startsWith(matrix.os, 'ubuntu')
4748 run : |
Original file line number Diff line number Diff line change 1515 options :
1616 - ' OFF'
1717 - ' ON'
18+ steamrt_snapshot :
19+ type : string
20+ description : SteamRT Snapshot
21+ default : ' latest-steam-client-general-availability'
1822jobs :
1923 build :
2024 runs-on : ${{ matrix.os }}
@@ -48,10 +52,10 @@ jobs:
4852 uses : actions/cache@v4
4953 with :
5054 path : com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
51- key : ${{ runner.os }}-steam-runtime
55+ key : steam-runtime- ${{ github.event.inputs.steamrt_snapshot }}
5256 - name : Download steam-runtime
5357 if : startsWith(matrix.os, 'ubuntu') && steps.cache-steam-runtime.outputs.cache-hit != 'true'
54- run : wget --no-verbose https://repo.steampowered.com/steamrt-images-scout/snapshots/0.20210610.0 /com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
58+ run : wget --no-verbose https://repo.steampowered.com/steamrt-images-scout/snapshots/${{ github.event.inputs.steamrt_snapshot }} /com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
5559 - name : Install steam runtime
5660 if : startsWith(matrix.os, 'ubuntu')
5761 run : |
You can’t perform that action at this time.
0 commit comments