Skip to content

Commit ea49d71

Browse files
bthomeevvysokikh1
authored andcommitted
ci: Clean workspace on Windows self-hosted runners (#6024)
This change updates the `cleanup-workspace` action to its latest version, which added support for Windows.
1 parent fbb6d28 commit ea49d71

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/reusable-build-test-config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ jobs:
6969
ENABLED_VOIDSTAR: ${{ contains(inputs.cmake_args, '-Dvoidstar=ON') }}
7070
ENABLED_COVERAGE: ${{ contains(inputs.cmake_args, '-Dcoverage=ON') }}
7171
steps:
72-
- name: Cleanup workspace
73-
if: ${{ runner.os == 'macOS' }}
74-
uses: XRPLF/actions/.github/actions/cleanup-workspace@3f044c7478548e3c32ff68980eeb36ece02b364e
72+
- name: Cleanup workspace (macOS and Windows)
73+
if: ${{ runner.os == 'macOS' || runner.os == 'Windows' }}
74+
uses: XRPLF/actions/.github/actions/cleanup-workspace@01b244d2718865d427b499822fbd3f15e7197fcc
7575

7676
- name: Checkout repository
7777
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0

.github/workflows/upload-conan-deps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ jobs:
6262
runs-on: ${{ matrix.architecture.runner }}
6363
container: ${{ contains(matrix.architecture.platform, 'linux') && format('ghcr.io/xrplf/ci/{0}-{1}:{2}-{3}-sha-{4}', matrix.os.distro_name, matrix.os.distro_version, matrix.os.compiler_name, matrix.os.compiler_version, matrix.os.image_sha) || null }}
6464
steps:
65-
- name: Cleanup workspace
66-
if: ${{ runner.os == 'macOS' }}
67-
uses: XRPLF/actions/.github/actions/cleanup-workspace@3f044c7478548e3c32ff68980eeb36ece02b364e
65+
- name: Cleanup workspace (macOS and Windows)
66+
if: ${{ runner.os == 'macOS' || runner.os == 'Windows' }}
67+
uses: XRPLF/actions/.github/actions/cleanup-workspace@01b244d2718865d427b499822fbd3f15e7197fcc
6868

6969
- name: Checkout repository
7070
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0

0 commit comments

Comments
 (0)