mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
ci: windows: prevent del errors when the directory doesn't exist
This commit is contained in:
parent
e096f972d0
commit
c59d60893b
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -105,7 +105,7 @@ jobs:
|
|||||||
- name: Switch to specific commit
|
- name: Switch to specific commit
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||||
run: |
|
run: |
|
||||||
del -r ../ci
|
if (Test-Path ../ci) { del -r ../ci }
|
||||||
cp ci ../
|
cp ci ../
|
||||||
git checkout ${{ inputs.commit }}
|
git checkout ${{ inputs.commit }}
|
||||||
del -r ci
|
del -r ci
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user