mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-02 15:47:11 +02:00
actions: Workaround YAML limitation for timeout-minutes
Because Github Actions wants an int, we use fromJSON to hack around this.
This commit is contained in:
parent
986ac9ff83
commit
f3873620a3
4 changed files with 6 additions and 6 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
|||
build:
|
||||
name: ${{ matrix.OS_NAME }} (${{ matrix.configuration }})
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: ${{ vars.JOB_TIMEOUT }}
|
||||
timeout-minutes: ${{ fromJSON(vars.JOB_TIMEOUT) }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||
|
@ -110,7 +110,7 @@ jobs:
|
|||
build_macos:
|
||||
name: macOS Universal (${{ matrix.configuration }})
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: ${{ vars.JOB_TIMEOUT }}
|
||||
timeout-minutes: ${{ fromJSON(vars.JOB_TIMEOUT) }}
|
||||
strategy:
|
||||
matrix:
|
||||
configuration: [ Debug, Release ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue