Github Actions does not support matrix variables in uses
This commit is contained in:
parent
fe1d53b2af
commit
be115b3402
9
.github/workflows/windows.yml
vendored
9
.github/workflows/windows.yml
vendored
@ -24,14 +24,16 @@ jobs:
|
|||||||
- name: Editor build
|
- name: Editor build
|
||||||
target: release_debug
|
target: release_debug
|
||||||
tools: yes
|
tools: yes
|
||||||
cache_action: actions/cache@v2
|
#cache_action: actions/cache@v2
|
||||||
executable_name: godot.windows.opt.tools.x86_64.exe
|
executable_name: godot.windows.opt.tools.x86_64.exe
|
||||||
|
|
||||||
- name: Release build
|
- name: Release build
|
||||||
target: release
|
target: release
|
||||||
tools: no
|
tools: no
|
||||||
# TODO I don't remember why this one uses a different action?
|
# TODO I don't remember why this one uses a different action?
|
||||||
cache_action: RevoluPowered/cache@v2.1
|
# Either way, Github Actions does not support matrix variables in `uses` yet.
|
||||||
|
# See https://github.com/orgs/community/discussions/9049
|
||||||
|
#cache_action: RevoluPowered/cache@v2.1
|
||||||
executable_name: godot.windows.opt.x86_64.exe
|
executable_name: godot.windows.opt.x86_64.exe
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -50,7 +52,8 @@ jobs:
|
|||||||
# Editing this is pretty dangerous for Windows since it can break and needs to be properly tested with a fresh cache.
|
# Editing this is pretty dangerous for Windows since it can break and needs to be properly tested with a fresh cache.
|
||||||
- name: Load .scons_cache directory
|
- name: Load .scons_cache directory
|
||||||
id: windows-editor-cache
|
id: windows-editor-cache
|
||||||
uses: ${{matrix.cache_action}}
|
#uses: ${{matrix.cache_action}}
|
||||||
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /.scons_cache/
|
path: /.scons_cache/
|
||||||
key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
|
key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user