Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to '.github/workflows/release.yaml')
| -rw-r--r-- | .github/workflows/release.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4ee7add1de..b1da921610 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 |