File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 14
14
DOCKER_USERNAME : ${{ secrets.DOCKER_USERNAME }}
15
15
REPO_NAME : ${{ github.repository_owner }}/lighthouse
16
16
IMAGE_NAME : ${{ github.repository_owner }}/lighthouse
17
+ # Enable self-hosted runners for the sigp repo only.
18
+ SELF_HOSTED_RUNNERS : ${{ github.repository == 'sigp/lighthouse' }}
17
19
18
20
jobs :
19
21
extract-version :
@@ -68,14 +70,15 @@ jobs:
68
70
- name : Checkout sources
69
71
uses : actions/checkout@v3
70
72
- name : Get latest version of stable Rust
73
+ if : env.SELF_HOSTED_RUNNERS == 'false'
71
74
run : rustup update stable
72
75
73
76
# ==============================
74
77
# Windows dependencies
75
78
# ==============================
76
79
77
80
- uses : KyleMayes/install-llvm-action@v1
78
- if : startsWith(matrix.arch, 'x86_64-windows')
81
+ if : env.SELF_HOSTED_RUNNERS == 'false' && startsWith(matrix.arch, 'x86_64-windows')
79
82
with :
80
83
version : " 15.0"
81
84
directory : ${{ runner.temp }}/llvm
You can’t perform that action at this time.
0 commit comments