Skip to content

Commit

Permalink
CI/CD: Pico SDK version checkout moved to workflow - cont.
Browse files Browse the repository at this point in the history
  • Loading branch information
pstolarz committed Dec 23, 2024
1 parent 4179b25 commit 56c1f27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/picosdk-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
container: ghcr.io/pstolarz/picosdk-ci
steps:
- name: Set SDK version
run: cd /pico-sdk && git fetch && git checkout ${SDK_VER} && git submodule update --init --recursive
run: cd /pico-sdk && git fetch || true && git checkout ${SDK_VER} && git submodule update --init --recursive
- name: SDK recent versions info
run: cd /pico-sdk && git tag | sort | awk "/$(git describe --tags)/ {f=1} f==1 {print}"
picosdk_build:
Expand All @@ -37,7 +37,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set SDK version
run: cd /pico-sdk && git fetch && git checkout ${SDK_VER} && git submodule update --init --recursive
run: cd /pico-sdk && git fetch || true && git checkout ${SDK_VER} && git submodule update --init --recursive
- name: Build
run: |
repo_dir=$(pwd)
Expand Down

0 comments on commit 56c1f27

Please sign in to comment.