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 dc3edf4 commit d687580Copy full SHA for d687580
.github/workflows/build-board-custom.yml
@@ -50,7 +50,11 @@ jobs:
50
git remote add fork https://github.com/${{github.repository}}.git
51
git fetch fork --filter=tree:0
52
- name: branch compatibility
53
- if: inputs.branch != '' && inputs.version == 'latest'
+ if: inputs.branch != 'main' && inputs.version == 'latest' && github.repository_owner == 'adafruit'
54
+ run: |
55
+ git checkout ${{inputs.branch}}
56
+ - name: branch compatibility (fork)
57
+ if: inputs.branch != '' && inputs.version == 'latest' && github.repository_owner != 'adafruit'
58
run: |
59
git checkout -b fork-branch fork/${{inputs.branch}}
60
- name: Set up identifier
0 commit comments