From be115b34028d0df6509aa38abf6e82147e1cc7b7 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Sat, 27 Aug 2022 13:53:55 +0100 Subject: [PATCH] Github Actions does not support matrix variables in `uses` --- .github/workflows/windows.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 46a6d13c..fc875077 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -24,14 +24,16 @@ jobs: - name: Editor build target: release_debug tools: yes - cache_action: actions/cache@v2 + #cache_action: actions/cache@v2 executable_name: godot.windows.opt.tools.x86_64.exe - name: Release build target: release tools: no # 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 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. - name: Load .scons_cache directory id: windows-editor-cache - uses: ${{matrix.cache_action}} + #uses: ${{matrix.cache_action}} + uses: actions/cache@v2 with: path: /.scons_cache/ key: ${{github.job}}-${{env.GODOT_BASE_BRANCH}}-${{github.ref}}-${{github.sha}}