Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
needs: changes
if: ${{ needs.changes.outputs.x4_component != '[]' && needs.changes.outputs.x4_component != '' }}

runs-on: ${{ matrix.os.name }}-${{ matrix.os.version }}
runs-on: ${{ matrix.os.name == 'windows' && 'self-hosted' || format('{0}-{1}', matrix.os.name, matrix.os.version) }}

strategy:
fail-fast: false
Expand Down Expand Up @@ -102,8 +102,15 @@ jobs:

steps:
- uses: actions/checkout@v5
with:
submodules: recursive
# with:
# submodules: recursive
# ^^^ does not work for self-hosted Windows runner

- name: Checkout submodules
run: |
git submodule sync --recursive
git -c protocol.version=2 submodule update --init --force --depth=1 --recursive
git submodule foreach --recursive git config --local gc.auto 0

- name: Initialize Ubuntu
if: matrix.os.name == 'ubuntu'
Expand Down
Loading