Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: include ${{ runner.arch }} in cache keys
Browse files Browse the repository at this point in the history
sebthom committed Jul 20, 2024
1 parent dc11edc commit ffcb2d9
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/actions/internal/install-haxelibs/action.yml
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ runs:
path: |
${{ runner.tool_cache }}/haxe/lib
# repo layout between haxe3 and 4 changed (and may change again) so we cache based on haxe version
key: ${{ runner.os }}-haxelibs-${{ inputs.haxe-version }}
key: ${{ runner.os }}-${{ runner.arch }}-haxelibs-${{ inputs.haxe-version }}

- name: "Haxe Libs Cache: Init Root Path"
id: HAXE-TARGETS-CACHE
2 changes: 1 addition & 1 deletion .github/actions/internal/setup-cs/action.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ runs:
uses: actions/cache@v4 # https://github.com/actions/cache
with:
path: ${{ inputs.cache-folder }}
key: ${{ runner.os }}-mono-${{ inputs.mono-version }}
key: ${{ runner.os }}-${{ runner.arch }}-mono-${{ inputs.mono-version }}

- name: "Setup C#: Install Mono"
shell: bash
2 changes: 1 addition & 1 deletion .github/actions/internal/setup-flash/action.yml
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ runs:
uses: actions/cache@v4 # https://github.com/actions/cache
with:
path: ${{ inputs.cache-folder }}
key: ${{ runner.os }}-flash-${{ inputs.flash-version }}
key: ${{ runner.os }}-${{ runner.arch }}-flash-${{ inputs.flash-version }}

- name: "Setup Flash: Install Binaries"
id: INSTALL-FLASH
2 changes: 1 addition & 1 deletion .github/actions/internal/setup-hashlink/action.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ runs:
uses: actions/cache@v4 # https://github.com/actions/cache
with:
path: ${{ inputs.cache-folder }}
key: ${{ runner.os }}-hashlink-latest
key: ${{ runner.os }}-${{ runner.arch }}-hashlink-latest

- name: "Setup Hashlink: Install Binaries"
shell: bash
2 changes: 1 addition & 1 deletion .github/actions/internal/setup-lua/action.yml
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ runs:
uses: actions/cache@v4 # https://github.com/actions/cache
with:
path: ${{ inputs.cache-folder }}
key: ${{ runner.os }}-lua-${{ inputs.lua-version }}
key: ${{ runner.os }}-${{ runner.arch }}-lua-${{ inputs.lua-version }}

- name: "Enable MSYS2 bash" # https://github.com/actions/runner/issues/497
if: ${{ runner.os == 'Windows' }}
2 changes: 1 addition & 1 deletion .github/actions/internal/setup-neko/action.yml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ runs:
uses: actions/cache@v4 # https://github.com/actions/cache
with:
path: ${{ runner.temp }}/haxe/targets/neko-${{ inputs.neko-version }}
key: ${{ runner.os }}-neko-${{ inputs.neko-version }}
key: ${{ runner.os }}-${{ runner.arch }}-neko-${{ inputs.neko-version }}

- name: "Setup Neko: Install Binaries"
shell: bash
2 changes: 1 addition & 1 deletion .github/actions/setup-haxe/action.yml
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ runs:
uses: actions/cache@v4 # https://github.com/actions/cache
with:
path: ${{ runner.temp }}/haxe/sdk/haxe-${{ inputs.haxe-version }}
key: ${{ runner.os }}-haxe-${{ inputs.haxe-version }}
key: ${{ runner.os }}-${{ runner.arch }}-haxe-${{ inputs.haxe-version }}

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

0 comments on commit ffcb2d9

Please sign in to comment.