Set architecture options from runner's architecture (#264)

* feat: Add ARCH_NAME variable and set default ARCH value

* chore: Show runner's os and architecture

* chore: Update actions
This commit is contained in:
Koji Wakamiya
2024-02-05 11:06:33 +09:00
committed by GitHub
parent 02b923c0e1
commit 14bf5302ef
3 changed files with 11 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ runs:
run: $GITHUB_ACTION_PATH/setup.sh -p -c '${{ inputs.cache-path }}' -k '${{ inputs.cache-key }}' -n '${{ inputs.flutter-version }}' -a '${{ inputs.architecture }}' ${{ inputs.channel }}
shell: bash
- if: ${{ inputs.cache == 'true' }}
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.flutter-action.outputs.CACHE-PATH }}
key: ${{ steps.flutter-action.outputs.CACHE-KEY }}-${{ hashFiles('**/pubspec.lock') }}