summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDmitry Misharov <dmitry@openssl.org>2023-12-14 13:36:04 +0100
committerTomas Mraz <tomas@openssl.org>2023-12-19 11:22:24 +0100
commit733daf907d712db2566402e196c2b21ad16468e4 (patch)
tree9028c85d2120c025f5a0621154bb5ada84e4f18e /.github
parent89fa9d399ecf11857b5a27d29cc0df8043cd9c37 (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.yml6
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