Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
ci: skip test and correctly checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
Enter-tainer committed Jul 7, 2024
1 parent 4bf92e5 commit 971dbc7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@ jobs:
cp "target/${{ matrix.rust-target }}/gh-release/tinymist$(If ('${{ matrix.platform }}' -eq 'win32') { '.exe' } else { '' } )" "editors/vscode/out/"
cp "target/${{ matrix.rust-target }}/gh-release/tinymist$(If ('${{ matrix.platform }}' -eq 'win32') { '.exe' } else { '' } )" "contrib/typst-preview/editors/vscode/out/"
cp "target/${{ matrix.rust-target }}/gh-release/tinymist$(If ('${{ matrix.platform }}' -eq 'win32') { '.exe' } else { '' } )" "tinymist-${{ env.target }}$(If ('${{ matrix.platform }}' -eq 'win32') { '.exe' } else { '' } )"
- name: Test tinymist
run: |
cargo test --profile=gh-release --workspace --target ${{ matrix.rust-target }}
if: (startsWith(github.ref, 'refs/tags/') || matrix.regular_build == 'true') && (matrix.platform == 'linux') && (matrix.arch == 'x64')
- name: Upload split debug symbols for windows
if: matrix.platform == 'win32' && (startsWith(github.ref, 'refs/tags/') || matrix.regular_build == 'true')
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -213,9 +209,9 @@ jobs:
steps:
- name: Install dependencies
run: apk add --no-cache git clang lld musl-dev nodejs npm yarn binutils
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: Myriad-Dreamin/tinymist
submodules: recursive
- name: Run rust-cache
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -282,6 +278,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
repository: Myriad-Dreamin/tinymist
submodules: recursive
- uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 971dbc7

Please sign in to comment.