Skip to content

Commit beffcf8

Browse files
authored
Clone repository before setting up Python (#250)
Since 70f167f the setup-python action restores a cache based on the fingerprint of requirements.txt, therefore we must ensure a copy of that file exists before we setup Python. This order of events requires the first action to be checkout to clone the repository. Signed-off-by: Joshua Lock <jlock@vmware.com> Signed-off-by: Joshua Lock <jlock@vmware.com>
1 parent 7b565c7 commit beffcf8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ jobs:
99
name: Make and publish spec release
1010
runs-on: ubuntu-latest
1111
steps:
12+
- name: Clone main
13+
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
14+
with:
15+
fetch-depth: 0
16+
1217
- name: Set up Python
1318
uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5
1419
with:
1520
python-version: 3.x
1621
cache: 'pip'
1722

18-
- name: Clone main
19-
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
20-
with:
21-
fetch-depth: 0
22-
2323
- name: Get previous version
2424
id: prevver
2525
run: |

0 commit comments

Comments
 (0)