Skip to content

Commit ffcb2d9

Browse files
committed
feat: include ${{ runner.arch }} in cache keys
1 parent dc11edc commit ffcb2d9

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.github/actions/internal/install-haxelibs/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
path: |
2626
${{ runner.tool_cache }}/haxe/lib
2727
# repo layout between haxe3 and 4 changed (and may change again) so we cache based on haxe version
28-
key: ${{ runner.os }}-haxelibs-${{ inputs.haxe-version }}
28+
key: ${{ runner.os }}-${{ runner.arch }}-haxelibs-${{ inputs.haxe-version }}
2929

3030
- name: "Haxe Libs Cache: Init Root Path"
3131
id: HAXE-TARGETS-CACHE

.github/actions/internal/setup-cs/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ runs:
2222
uses: actions/cache@v4 # https://github.com/actions/cache
2323
with:
2424
path: ${{ inputs.cache-folder }}
25-
key: ${{ runner.os }}-mono-${{ inputs.mono-version }}
25+
key: ${{ runner.os }}-${{ runner.arch }}-mono-${{ inputs.mono-version }}
2626

2727
- name: "Setup C#: Install Mono"
2828
shell: bash

.github/actions/internal/setup-flash/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ runs:
2929
uses: actions/cache@v4 # https://github.com/actions/cache
3030
with:
3131
path: ${{ inputs.cache-folder }}
32-
key: ${{ runner.os }}-flash-${{ inputs.flash-version }}
32+
key: ${{ runner.os }}-${{ runner.arch }}-flash-${{ inputs.flash-version }}
3333

3434
- name: "Setup Flash: Install Binaries"
3535
id: INSTALL-FLASH

.github/actions/internal/setup-hashlink/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
uses: actions/cache@v4 # https://github.com/actions/cache
1919
with:
2020
path: ${{ inputs.cache-folder }}
21-
key: ${{ runner.os }}-hashlink-latest
21+
key: ${{ runner.os }}-${{ runner.arch }}-hashlink-latest
2222

2323
- name: "Setup Hashlink: Install Binaries"
2424
shell: bash

.github/actions/internal/setup-lua/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ runs:
2424
uses: actions/cache@v4 # https://github.com/actions/cache
2525
with:
2626
path: ${{ inputs.cache-folder }}
27-
key: ${{ runner.os }}-lua-${{ inputs.lua-version }}
27+
key: ${{ runner.os }}-${{ runner.arch }}-lua-${{ inputs.lua-version }}
2828

2929
- name: "Enable MSYS2 bash" # https://github.com/actions/runner/issues/497
3030
if: ${{ runner.os == 'Windows' }}

.github/actions/internal/setup-neko/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
uses: actions/cache@v4 # https://github.com/actions/cache
1919
with:
2020
path: ${{ runner.temp }}/haxe/targets/neko-${{ inputs.neko-version }}
21-
key: ${{ runner.os }}-neko-${{ inputs.neko-version }}
21+
key: ${{ runner.os }}-${{ runner.arch }}-neko-${{ inputs.neko-version }}
2222

2323
- name: "Setup Neko: Install Binaries"
2424
shell: bash

.github/actions/setup-haxe/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ runs:
5959
uses: actions/cache@v4 # https://github.com/actions/cache
6060
with:
6161
path: ${{ runner.temp }}/haxe/sdk/haxe-${{ inputs.haxe-version }}
62-
key: ${{ runner.os }}-haxe-${{ inputs.haxe-version }}
62+
key: ${{ runner.os }}-${{ runner.arch }}-haxe-${{ inputs.haxe-version }}
6363

6464
- name: "Setup Haxe: Install Binaries"
6565
shell: bash

0 commit comments

Comments
 (0)