mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
.github/workflows: always use the latest version of Go on the Steam bot
This commit is contained in:
parent
78ad9f9c30
commit
c3c4a5e9b7
10
.github/workflows/steam.yml
vendored
10
.github/workflows/steam.yml
vendored
@ -8,7 +8,6 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DISPLAY: ':99.0'
|
||||
GO_VERSION: '1.19'
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@ -28,10 +27,15 @@ jobs:
|
||||
curl --location --remote-name https://repo.steampowered.com/steamrt-images-scout/snapshots/latest-public-beta/com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.tar.gz
|
||||
docker build -f com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.Dockerfile -t steamrt_scout_amd64:latest .
|
||||
|
||||
- name: Go version
|
||||
id: go
|
||||
run: |
|
||||
echo "::set-output name=version::$(curl --location https://go.dev/VERSION?m=text)"
|
||||
|
||||
- name: Docker run (386)
|
||||
run: |
|
||||
docker run --rm --workdir=/work --volume $(pwd):/work --env GO_FILENAME=go${GO_VERSION}.linux-386.tar.gz steamrt_scout_i386:latest /bin/sh .github/workflows/steam.sh
|
||||
docker run --rm --workdir=/work --volume $(pwd):/work --env GO_FILENAME=${{ steps.go.outputs.version }}.linux-386.tar.gz steamrt_scout_i386:latest /bin/sh .github/workflows/steam.sh
|
||||
|
||||
- name: Docker run (amd64)
|
||||
run: |
|
||||
docker run --rm --workdir=/work --volume $(pwd):/work --env GO_FILENAME=go${GO_VERSION}.linux-amd64.tar.gz steamrt_scout_amd64:latest /bin/sh .github/workflows/steam.sh
|
||||
docker run --rm --workdir=/work --volume $(pwd):/work --env GO_FILENAME=${{ steps.go.outputs.version }}.linux-amd64.tar.gz steamrt_scout_amd64:latest /bin/sh .github/workflows/steam.sh
|
||||
|
Loading…
Reference in New Issue
Block a user