Skip to content

Commit 8d990a5

Browse files
authored
ci: Attempt to fix release
1 parent 718595f commit 8d990a5

File tree

1 file changed

+22
-9
lines changed

1 file changed

+22
-9
lines changed

.github/workflows/release.yml

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ jobs:
4545
ext: dll
4646
host: x86_64-pc-windows-msvc
4747
runs-on: ${{ matrix.os }}
48-
outputs:
49-
bin-name: ${{ steps.pass-vars.outputs.BIN_NAME }}
5048
steps:
5149
- uses: actions/checkout@v4
5250
- run: .github/script/setup
@@ -114,11 +112,6 @@ jobs:
114112
path: tree-sitter-grammars*.tar.gz
115113
if-no-files-found: error
116114

117-
- name: Pass variables
118-
id: pass-vars
119-
run: |
120-
echo "BIN_NAME=$${{ matrix.host }}.${{ matrix.bundle_os }}" >> $GITHUB_OUTPUT
121-
122115
publish:
123116
needs: build
124117
runs-on: ubuntu-20.04
@@ -134,10 +127,30 @@ jobs:
134127
echo RELEASE_VERSION=$RELEASE_VERSION >> $GITHUB_ENV
135128
cat RELEASE-NOTES
136129
137-
- name: Download binaries
130+
- name: Download binaries (x86_64-apple-darwin.macos)
131+
uses: actions/download-artifact@v4
132+
with:
133+
name: x86_64-apple-darwin.macos
134+
135+
- name: Download binaries (.macos)
136+
uses: actions/download-artifact@v4
137+
with:
138+
name: .macos
139+
140+
- name: Download binaries (x86_64-unknown-linux-gnu.linux)
141+
uses: actions/download-artifact@v4
142+
with:
143+
name: x86_64-unknown-linux-gnu.linux
144+
145+
- name: Download binaries (.linux)
146+
uses: actions/download-artifact@v4
147+
with:
148+
name: .linux
149+
150+
- name: Download binaries (x86_64-pc-windows-msvc.windows)
138151
uses: actions/download-artifact@v4
139152
with:
140-
name: ${{ needs.build.outputs.bin-name }}
153+
name: x86_64-pc-windows-msvc.windows
141154

142155
- run: ls -R
143156

0 commit comments

Comments
 (0)