From 0c3f14223a08fa950c8a4c00bcfb834e65744135 Mon Sep 17 00:00:00 2001 From: Jiun Kim <40026920+KKimj@users.noreply.github.com> Date: Fri, 29 Apr 2022 11:03:21 +0900 Subject: [PATCH] Update cache-key with `Runner.os` and `Arch` (#152) * Add `${{ runner.os }}` on cache-key * Add `${{ inputs.architecture }}` as Cache-key --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 578503f..94b8320 100644 --- a/action.yml +++ b/action.yml @@ -35,6 +35,6 @@ runs: uses: actions/cache@v3 with: path: ${{ inputs.cache-path }} - key: ${{ inputs.cache-key }}-${{ inputs.channel }}-${{ inputs.flutter-version }} + key: ${{ inputs.cache-key }}-${{ runner.os }}-${{ inputs.architecture }}-${{ inputs.channel }}-${{ inputs.flutter-version }} - run: $GITHUB_ACTION_PATH/setup.sh -c "${{ inputs.cache-path }}" ${{ inputs.channel }} ${{ inputs.flutter-version }} ${{ inputs.architecture }} shell: bash