Skip to content

Commit e604414

Browse files
authored
ci: Fix artifact already exists issue
1 parent 8d277d1 commit e604414

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,14 @@ jobs:
110110
- name: Upload binary
111111
uses: actions/upload-artifact@v4
112112
with:
113-
name: ${{ matrix.host }}.v${{ env.BUNDLE_VERSION }}
113+
name: ${{ matrix.host }}.${{ matrix.bundle_os }}
114114
path: tree-sitter-grammars*.tar.gz
115115
if-no-files-found: error
116116

117117
- name: Pass variables
118118
id: pass-vars
119119
run: |
120-
echo "BIN_NAME=$${{ matrix.host }}.v${{ env.BUNDLE_VERSION }}" >> $GITHUB_OUTPUT
120+
echo "BIN_NAME=$${{ matrix.host }}.${{ matrix.bundle_os }}" >> $GITHUB_OUTPUT
121121
122122
publish:
123123
needs: build

0 commit comments

Comments
 (0)