Skip to content

Commit 637cc23

Browse files
authored
Merge pull request #5681 from tannewt/fix_ci_versioning
Pass ci_fetch_deps.py the sha rather than ref
2 parents 5740393 + 981e370 commit 637cc23

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
with:
3636
python-version: 3.8
3737
- name: Get CP deps
38-
run: python tools/ci_fetch_deps.py test ${{ github.ref }}
38+
run: python tools/ci_fetch_deps.py test ${{ github.sha }}
3939
- name: CircuitPython version
4040
run: |
4141
git describe --dirty --tags || git log --parents HEAD~4..
@@ -141,7 +141,7 @@ jobs:
141141
with:
142142
python-version: 3.8
143143
- name: Get CP deps
144-
run: python tools/ci_fetch_deps.py mpy-cross-mac ${{ github.ref }}
144+
run: python tools/ci_fetch_deps.py mpy-cross-mac ${{ github.sha }}
145145
- name: CircuitPython version
146146
run: |
147147
git describe --dirty --tags
@@ -197,7 +197,7 @@ jobs:
197197
submodules: false
198198
fetch-depth: 1
199199
- name: Get CP deps
200-
run: python tools/ci_fetch_deps.py docs ${{ github.ref }}
200+
run: python tools/ci_fetch_deps.py docs ${{ github.sha }}
201201
- name: CircuitPython version
202202
run: |
203203
git describe --dirty --tags
@@ -269,7 +269,7 @@ jobs:
269269
submodules: false
270270
fetch-depth: 1
271271
- name: Get CP deps
272-
run: python tools/ci_fetch_deps.py ${{ matrix.board }} ${{ github.ref }}
272+
run: python tools/ci_fetch_deps.py ${{ matrix.board }} ${{ github.sha }}
273273
- name: Install dependencies
274274
run: |
275275
sudo apt-get install -y gettext

.github/workflows/create_website_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
python-version: 3.8
2727
- name: Get CP deps
28-
run: python tools/ci_fetch_deps.py website ${{ github.ref }}
28+
run: python tools/ci_fetch_deps.py website ${{ github.sha }}
2929
- name: Install deps
3030
run: |
3131
pip install -r requirements-dev.txt

.github/workflows/ports_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
submodules: false
7171
fetch-depth: 1
7272
- name: Get CP deps
73-
run: python tools/ci_fetch_deps.py windows ${{ github.ref }}
73+
run: python tools/ci_fetch_deps.py windows ${{ github.sha }}
7474
- name: CircuitPython version
7575
run: |
7676
git describe --dirty --tags

0 commit comments

Comments
 (0)