Skip to content

Commit

Permalink
Use different IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter committed Jun 26, 2023
1 parent 3a02316 commit 30d1cff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/Build_Examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Check branch
if: ${{ github.ref == 'refs/heads/main' }}
id: check_watch
id: check_main_branch
run: |
echo "RUN_TEST=1" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
- name: Check watch files (powershell)
if: ${{ github.ref != 'refs/heads/main' && matrix.os == 'windows-latest' }}
id: check_watch
id: check_watch_powershell
run: |
$RUN_TEST = 0
# Always run test on workflow dispatch
Expand Down Expand Up @@ -133,12 +133,12 @@ jobs:
- name: Install ARM GCC Toolchain (arm-none-eabi-gcc)
uses: carlosperate/arm-none-eabi-gcc-action@v1
id: arm-none-eabi-gcc-action
if: ${{ steps.check_watch.outputs.RUN_TEST == '1' }}
if: ${{ steps.check_watch.outputs.RUN_TEST == '1' || steps.check_main_branch.outputs.RUN_TEST == '1' || steps.check_powershell.outputs.RUN_TEST == '1' }}
with:
release: '10.3-2021.10' # <-- The compiler release to use

- name: Install RISCV GCC Toolchain (riscv-none-embed-gcc)
if: ${{ steps.check_watch.outputs.RUN_TEST == '1' }}
if: ${{ steps.check_watch.outputs.RUN_TEST == '1' || steps.check_main_branch.outputs.RUN_TEST == '1' || steps.check_powershell.outputs.RUN_TEST == '1' }}
run: |
# Install RISCV tools
npm install --global xpm@latest
Expand All @@ -151,7 +151,7 @@ jobs:
echo "/home/runner/riscv-none-embed-gcc/$TOOL_VER/.content/bin" >> $GITHUB_PATH
- name: Install RISCV GCC Toolchain (riscv-none-elf-gcc)
if: ${{ steps.check_watch.outputs.RUN_TEST == '1' }}
if: ${{ steps.check_watch.outputs.RUN_TEST == '1' || steps.check_main_branch.outputs.RUN_TEST == '1' || steps.check_powershell.outputs.RUN_TEST == '1' }}
run: |
# Install RISCV tools (updated)
npm install --global xpm@latest
Expand Down

0 comments on commit 30d1cff

Please sign in to comment.