zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit c59d60893b9485e26888b87fa10276fb1e5bdf0e (tree)
parent e096f972d08fa32a7f269b7326c05b7eaf065b23
Author: Loris Cro <kappaloris@gmail.com>
Date:   Fri, 25 Nov 2022 20:35:39 +0100

ci: windows: prevent `del` errors when the directory doesn't exist

Diffstat:
M.github/workflows/ci.yaml | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml @@ -105,7 +105,7 @@ jobs: - name: Switch to specific commit if: ${{ github.event_name == 'workflow_dispatch' }} run: | - del -r ../ci + if (Test-Path ../ci) { del -r ../ci } cp ci ../ git checkout ${{ inputs.commit }} del -r ci