tweak action

This commit is contained in:
hathach 2024-05-15 16:03:31 +07:00
parent aa2685536b
commit 83499a2cd0
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52
3 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ runs:
id: cache-toolchain-espressif id: cache-toolchain-espressif
with: with:
path: ${{ steps.set-docker-image.outputs.DOCKER_IMAGE }} path: ${{ steps.set-docker-image.outputs.DOCKER_IMAGE }}
key: ${{ runner.os }}-${{ inputs.toolchain }}-${{ inputs.toolchain_url }} key: ${{ inputs.toolchain }}-${{ inputs.toolchain_url }}
- name: Pull and Save Docker Image - name: Pull and Save Docker Image
if: steps.cache-toolchain-espressif.outputs.cache-hit != 'true' if: steps.cache-toolchain-espressif.outputs.cache-hit != 'true'

View File

@ -59,10 +59,10 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install ARM GCC - name: Setup Toolchain
uses: carlosperate/arm-none-eabi-gcc-action@v1 uses: ./.github/actions/setup_toolchain
with: with:
release: '11.2-2022.02' toolchain: 'arm-gcc'
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL

View File

@ -41,7 +41,7 @@ jobs:
echo "BOARDS_LIST=$BOARDS_LIST" >> $GITHUB_ENV echo "BOARDS_LIST=$BOARDS_LIST" >> $GITHUB_ENV
echo "BOARDS_LIST=$BOARDS_LIST" >> $GITHUB_OUTPUT echo "BOARDS_LIST=$BOARDS_LIST" >> $GITHUB_OUTPUT
- name: Setup ARM Toolchain - name: Setup Toolchain
uses: ./.github/actions/setup_toolchain uses: ./.github/actions/setup_toolchain
with: with:
toolchain: 'arm-gcc' toolchain: 'arm-gcc'