minor: prepare CI for rust-lang move
This commit is contained in:
parent
24af94b474
commit
be34896433
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@ -17,7 +17,7 @@ env:
|
||||
|
||||
jobs:
|
||||
rust:
|
||||
if: github.repository == 'rust-analyzer/rust-analyzer'
|
||||
if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer'
|
||||
name: Rust
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
@ -62,7 +62,7 @@ jobs:
|
||||
|
||||
# Weird targets to catch non-portable code
|
||||
rust-cross:
|
||||
if: github.repository == 'rust-analyzer/rust-analyzer'
|
||||
if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer'
|
||||
name: Rust Cross
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@ -99,7 +99,7 @@ jobs:
|
||||
done
|
||||
|
||||
typescript:
|
||||
if: github.repository == 'rust-analyzer/rust-analyzer'
|
||||
if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer'
|
||||
name: TypeScript
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
2
.github/workflows/metrics.yaml
vendored
2
.github/workflows/metrics.yaml
vendored
@ -12,7 +12,7 @@ env:
|
||||
|
||||
jobs:
|
||||
metrics:
|
||||
if: github.repository == 'rust-analyzer/rust-analyzer'
|
||||
if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -247,12 +247,12 @@ jobs:
|
||||
working-directory: ./editors/code
|
||||
|
||||
- name: Publish Extension (release)
|
||||
if: github.ref == 'refs/heads/release' && github.repository == 'rust-analyzer/rust-analyzer'
|
||||
if: github.ref == 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
|
||||
working-directory: ./editors/code
|
||||
# token from https://dev.azure.com/rust-analyzer/
|
||||
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix
|
||||
|
||||
- name: Publish Extension (nightly)
|
||||
if: github.ref != 'refs/heads/release' && github.repository == 'rust-analyzer/rust-analyzer'
|
||||
if: github.ref != 'refs/heads/release' && (github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer')
|
||||
working-directory: ./editors/code
|
||||
run: npx vsce publish --pat ${{ secrets.MARKETPLACE_TOKEN }} --packagePath ../../dist/rust-analyzer-*.vsix --pre-release
|
||||
|
2
.github/workflows/rustdoc.yaml
vendored
2
.github/workflows/rustdoc.yaml
vendored
@ -12,7 +12,7 @@ env:
|
||||
|
||||
jobs:
|
||||
rustdoc:
|
||||
if: github.repository == 'rust-analyzer/rust-analyzer'
|
||||
if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
Loading…
Reference in New Issue
Block a user