run Cross Compiles workflow on self-hosted runner
authorDmitry Misharov <dmitry@openssl.org>
Thu, 14 Dec 2023 10:09:15 +0000 (11:09 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 19 Dec 2023 10:11:28 +0000 (11:11 +0100)
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23042)

.github/workflows/cross-compiles.yml

index 21683b731dffd3d61907df5af201d604c1a92080..c3dd90cab9a0af7885df03e1e6f241404cdb0c63 100644 (file)
@@ -148,7 +148,7 @@ jobs:
             tests: none
           }
         ]
-    runs-on: ubuntu-latest
+    runs-on: ${{ github.server_url == 'https://github.com' && 'ubuntu-latest' || 'ubuntu-22.04-self-hosted' }}
     steps:
     - name: install package repository
       if: matrix.platform.ppa != ''