Skip to content

Commit bc07061

Browse files
committed
break-pacman-upload-lease: use actions/checkout
There is no need to roll our own `git clone`, and while at it, do clone into the current directory; We're on Linux, after all, and cannot just write to `/usr/src/` as we would in a Git for Windows SDK. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent f984d05 commit bc07061

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/break-pacman-upload-lease.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Clone build-extra
12-
shell: bash
13-
run: git clone --depth 1 --single-branch -b main https://github.com/git-for-windows/build-extra /usr/src/build-extra
12+
uses: actions/checkout@v4
13+
with:
14+
repository: git-for-windows/build-extra
1415

1516
- name: Prepare home directory
1617
if: env.AZURE_BLOBS_TOKEN != ''
@@ -26,4 +27,5 @@ jobs:
2627
shell: bash
2728
env:
2829
AZURE_BLOBS_TOKEN: ${{secrets.AZURE_BLOBS_TOKEN}}
29-
run: /usr/src/build-extra/pacman-helper.sh break_lock
30+
run: |
31+
./pacman-helper.sh break_lock

0 commit comments

Comments
 (0)