diff options
author | Dmitry Misharov <dmitry@openssl.org> | 2023-12-14 13:36:04 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-12-19 11:23:00 +0100 |
commit | 15e1cbddb4bab96945af5ddd921dd379623a089e (patch) | |
tree | 30a99191bdf66d5d4e371dc5d0d08e94349a09f5 /.github | |
parent | 397627397db1d28bca21686ad1fb5ac8a7ac69e3 (diff) |
run Windows GitHub CI workflow on self-hosted runners
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23042)
(cherry picked from commit ce42b72cb1ca2ba8669bc28a70ed9dca28b7a551)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/windows.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a3274457c3..2e0f4fe0c9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -25,7 +25,7 @@ jobs: config: enable-fips - arch: win32 config: --strict-warnings no-fips - runs-on: ${{matrix.os}} + runs-on: ${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os) }} steps: - uses: actions/checkout@v4 - uses: ilammy/msvc-dev-cmd@v1 @@ -61,7 +61,7 @@ jobs: os: - windows-2019 - windows-2022 - runs-on: ${{matrix.os}} + runs-on: ${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os) }} steps: - uses: actions/checkout@v4 - uses: ilammy/msvc-dev-cmd@v1 @@ -85,7 +85,7 @@ jobs: os: - windows-2019 - windows-2022 - runs-on: ${{matrix.os}} + runs-on: ${{ github.server_url == 'https://github.com' && matrix.os || format('{0}-self-hosted', matrix.os) }} steps: - uses: actions/checkout@v4 - uses: ilammy/msvc-dev-cmd@v1 |