Skip to content

Commit ebcfbcb

Browse files
committed
fix(build): fix recursive tar error
1 parent 3a0204b commit ebcfbcb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/tag.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,15 @@ jobs:
1515
with:
1616
install-lib: false
1717
- run: tree-sitter generate
18+
- run: mkdir -p parser-artifacts
19+
run: |
20+
cp -r bindings queries src binding.gyp Cargo.toml \
21+
CMakeLists.txt go.mod grammar.js LICENSE Makefile \
22+
package.json Package.swift pyproject.toml setup.py \
23+
tree-sitter.json \
24+
parser-artifacts
1825
- name: Package parser artifacts
19-
run: tar -czf "tree-sitter-sql-${{ github.ref_name }}.tar.gz" .
26+
run: tar -czf "tree-sitter-sql-${{ github.ref_name }}.tar.gz" -C parser-artifacts .
2027
- name: Upload Release Artifacts
2128
uses: softprops/action-gh-release@v2
2229
with:

0 commit comments

Comments
 (0)