mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-12-23 08:47:50 +00:00
dev(ci): restrict patterns to release (#1682)
This commit is contained in:
parent
d3134926e5
commit
258cf85601
4 changed files with 9 additions and 7 deletions
6
.github/workflows/build-vsc-assets.yml
vendored
6
.github/workflows/build-vsc-assets.yml
vendored
|
|
@ -73,12 +73,12 @@ jobs:
|
|||
- name: Pre-bundle tinymist vscode extension
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: tinymist-vscode-out
|
||||
name: vscode-artifacts-tinymist
|
||||
path: editors/vscode/out
|
||||
- name: Pre-bundle tinymist vscode extension (L10n)
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: tinymist-vscode-l10n
|
||||
name: vscode-artifacts-tinymist-l10n
|
||||
path: |
|
||||
editors/vscode/l10n/**/*
|
||||
editors/vscode/package.nls.json
|
||||
|
|
@ -86,6 +86,6 @@ jobs:
|
|||
- name: Pre-bundle typst-preview vscode extension
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: typst-preview-vscode-out
|
||||
name: vscode-artifacts-typst-preview
|
||||
path: contrib/typst-preview/editors/vscode/out
|
||||
|
||||
|
|
|
|||
6
.github/workflows/build-vscode.yml
vendored
6
.github/workflows/build-vscode.yml
vendored
|
|
@ -89,19 +89,19 @@ jobs:
|
|||
- name: Download VSC Assets
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: tinymist-vscode-out
|
||||
name: vscode-artifacts-tinymist
|
||||
path: editors/vscode/out
|
||||
if: (fromJson(env.isRelease) || fromJson(env.isNightly))
|
||||
- name: Download VSC Assets (L10n)
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: tinymist-vscode-l10n
|
||||
name: vscode-artifacts-tinymist-l10n
|
||||
path: editors/vscode
|
||||
if: (fromJson(env.isRelease) || fromJson(env.isNightly))
|
||||
- name: Download VSC Assets (Preview)
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: typst-preview-vscode-out
|
||||
name: vscode-artifacts-typst-preview
|
||||
path: contrib/typst-preview/editors/vscode/out
|
||||
if: (fromJson(env.isRelease) || fromJson(env.isNightly))
|
||||
|
||||
|
|
|
|||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -70,11 +70,12 @@ jobs:
|
|||
cargo run -p tinymist -- completion elvish > completions/elvish/lib/tinymist.elv
|
||||
cargo run -p tinymist -- completion nushell > completions/nushell/vendor/autoload/tinymist.nu
|
||||
cargo run -p tinymist -- completion powershell > completions/powershell/tinymist.ps1
|
||||
tar -czvf tinymist-completions.tar.gz completions
|
||||
- name: upload completions
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: tinymist-completion-scripts
|
||||
path: completions
|
||||
path: tinymist-completions.tar.gz
|
||||
- name: Test tinymist
|
||||
run: cargo test --workspace -- --skip=e2e
|
||||
|
||||
|
|
|
|||
1
.github/workflows/publish-vscode.yml
vendored
1
.github/workflows/publish-vscode.yml
vendored
|
|
@ -20,6 +20,7 @@ jobs:
|
|||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: artifacts
|
||||
pattern: '{tinymist,typst-preview}-*'
|
||||
- name: Display structure of downloaded files
|
||||
run: ls -R artifacts
|
||||
- uses: ncipollo/release-action@v1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue