File tree 4 files changed +7
-2
lines changed
4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 17
17
18
18
jobs :
19
19
rust :
20
+ if : github.repository == 'rust-analyzer/rust-analyzer'
20
21
name : Rust
21
22
runs-on : ${{ matrix.os }}
22
23
env :
61
62
62
63
# Weird targets to catch non-portable code
63
64
rust-cross :
65
+ if : github.repository == 'rust-analyzer/rust-analyzer'
64
66
name : Rust Cross
65
67
runs-on : ubuntu-latest
66
68
97
99
done
98
100
99
101
typescript :
102
+ if : github.repository == 'rust-analyzer/rust-analyzer'
100
103
name : TypeScript
101
104
strategy :
102
105
fail-fast : false
Original file line number Diff line number Diff line change 12
12
13
13
jobs :
14
14
metrics :
15
+ if : github.repository == 'rust-analyzer/rust-analyzer'
15
16
runs-on : ubuntu-latest
16
17
17
18
steps :
Original file line number Diff line number Diff line change @@ -247,12 +247,12 @@ jobs:
247
247
working-directory : ./editors/code
248
248
249
249
- name : Publish Extension (release)
250
- if : github.ref == 'refs/heads/release'
250
+ if : github.ref == 'refs/heads/release' && github.repository == 'rust-analyzer/rust-analyzer'
251
251
working-directory : ./editors/code
252
252
# token from https://dev.azure.com/rust-analyzer/
253
253
run : npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix
254
254
255
255
- name : Publish Extension (nightly)
256
- if : github.ref != 'refs/heads/release'
256
+ if : github.ref != 'refs/heads/release' && github.repository == 'rust-analyzer/rust-analyzer'
257
257
working-directory : ./editors/code
258
258
run : npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix --pre-release
Original file line number Diff line number Diff line change 12
12
13
13
jobs :
14
14
rustdoc :
15
+ if : github.repository == 'rust-analyzer/rust-analyzer'
15
16
runs-on : ubuntu-latest
16
17
17
18
steps :
You can’t perform that action at this time.
0 commit comments