Skip to content

Commit

Permalink
Use latest scout steam runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
FreeSlave committed Nov 22, 2024
1 parent 387c266 commit 9dfc1f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
STEAMRT_SNAPSHOT: latest-steam-client-general-availability
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -38,10 +39,10 @@ jobs:
uses: actions/cache@v4
with:
path: com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
key: ${{ runner.os }}-steam-runtime
key: steam-runtime-${{ env.STEAMRT_SNAPSHOT }}
- name: Download steam-runtime
if: startsWith(matrix.os, 'ubuntu') && steps.cache-steam-runtime.outputs.cache-hit != 'true'
run: wget --no-verbose https://repo.steampowered.com/steamrt-images-scout/snapshots/0.20210610.0/com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
run: wget --no-verbose https://repo.steampowered.com/steamrt-images-scout/snapshots/${{ env.STEAMRT_SNAPSHOT }}/com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
- name: Install steam runtime
if: startsWith(matrix.os, 'ubuntu')
run: |
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
options:
- 'OFF'
- 'ON'
steamrt_snapshot:
type: string
description: SteamRT Snapshot
default: 'latest-steam-client-general-availability'
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -48,10 +52,10 @@ jobs:
uses: actions/cache@v4
with:
path: com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
key: ${{ runner.os }}-steam-runtime
key: steam-runtime-${{ github.event.inputs.steamrt_snapshot }}
- name: Download steam-runtime
if: startsWith(matrix.os, 'ubuntu') && steps.cache-steam-runtime.outputs.cache-hit != 'true'
run: wget --no-verbose https://repo.steampowered.com/steamrt-images-scout/snapshots/0.20210610.0/com.valvesoftware.SteamRuntime.Sdk-i386-scout-sysroot.tar.gz
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
- name: Install steam runtime
if: startsWith(matrix.os, 'ubuntu')
run: |
Expand Down

0 comments on commit 9dfc1f9

Please sign in to comment.