aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml22
1 files changed, 14 insertions, 8 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1f9b6a32..2a9ea80e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -53,8 +53,6 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v3
- with:
- submodules: true
- name: Install ${{ matrix.rust }} toolchain
uses: actions-rs/toolchain@v1
@@ -64,6 +62,20 @@ jobs:
target: ${{ matrix.target }}
override: true
+ - name: Fetch tree-sitter grammars
+ uses: actions-rs/cargo@v1
+ with:
+ use-cross: ${{ matrix.cross }}
+ command: run
+ args: --release --locked --target ${{ matrix.target }} -- --fetch-grammars
+
+ - name: Build tree-sitter grammars
+ uses: actions-rs/cargo@v1
+ with:
+ use-cross: ${{ matrix.cross }}
+ command: run
+ args: --release --locked --target ${{ matrix.target }} -- --build-grammars
+
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
@@ -114,14 +126,8 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v3
- with:
- submodules: false
- uses: actions/download-artifact@v2
- # with:
- # path: dist
- # - run: ls -al ./dist
- - run: ls -al bins-*
- name: Calculate tag name
run: |