We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36e5a89 commit a6b9d97Copy full SHA for a6b9d97
.github/workflows/build-board-custom.yml
@@ -53,7 +53,13 @@ jobs:
53
steps:
54
- name: Set up repository
55
run: |
56
- git clone --filter=tree:0 https://github.com/adafruit/circuitpython.git $GITHUB_WORKSPACE
+ if [ -d "$GITHUB_WORKSPACE/.git" ]; then
57
+ cd "$GITHUB_WORKSPACE"
58
+ git fetch --all
59
+ git reset --hard origin/main
60
+ else
61
+ git clone --filter=tree:0 https://github.com/adafruit/circuitpython.git "$GITHUB_WORKSPACE"
62
+ fi
63
- name: Checkout head / tag
64
env:
65
TAG: ${{ inputs.version == 'latest' && 'HEAD' || inputs.version }}
0 commit comments