@@ -118,13 +118,18 @@ jobs:
118118 make release deb -j3 STATIC=1
119119 cp -p build/release.tar.gz /tmp/tinygo${{ steps.version.outputs.version }}.linux-amd64.tar.gz
120120 cp -p build/release.deb /tmp/tinygo_${{ steps.version.outputs.version }}_amd64.deb
121- - name : Publish release artifact
121+ - name : " Publish release artifact: tarball "
122122 uses : actions/upload-artifact@v7
123123 with :
124- name : linux-amd64-double-zipped-${{ steps.version.outputs.version }}
125- path : |
126- /tmp/tinygo${{ steps.version.outputs.version }}.linux-amd64.tar.gz
127- /tmp/tinygo_${{ steps.version.outputs.version }}_amd64.deb
124+ name : tinygo${{ steps.version.outputs.version }}.linux-amd64.tar.gz
125+ path : /tmp/tinygo${{ steps.version.outputs.version }}.linux-amd64.tar.gz
126+ archive : false
127+ - name : " Publish release artifact: Debian package"
128+ uses : actions/upload-artifact@v7
129+ with :
130+ name : tinygo_${{ steps.version.outputs.version }}_amd64.deb
131+ path : /tmp/tinygo_${{ steps.version.outputs.version }}_amd64.deb
132+ archive : false
128133 test-linux-build :
129134 # Test the binaries built in the build-linux job by running the smoke tests.
130135 runs-on : ubuntu-latest
@@ -146,9 +151,9 @@ jobs:
146151 - name : Install wasm-tools
147152 uses : bytecodealliance/actions/wasm-tools/setup@v1
148153 - name : Download release artifact
149- uses : actions/download-artifact@v4
154+ uses : actions/download-artifact@v8
150155 with :
151- name : linux-amd64-double-zipped- ${{ needs.build-linux.outputs.version }}
156+ name : tinygo ${{ needs.build-linux.outputs.version }}.linux-amd64.tar.gz
152157 - name : Extract release tarball
153158 run : |
154159 mkdir -p ~/lib
@@ -370,9 +375,9 @@ jobs:
370375 run : |
371376 make CROSS=${{ matrix.toolchain }}
372377 - name : Download amd64 release
373- uses : actions/download-artifact@v4
378+ uses : actions/download-artifact@v8
374379 with :
375- name : linux-amd64-double-zipped- ${{ needs.build-linux.outputs.version }}
380+ name : tinygo ${{ needs.build-linux.outputs.version }}.linux-amd64.tar.gz
376381 - name : Extract amd64 release
377382 run : |
378383 mkdir -p build/release
@@ -384,12 +389,17 @@ jobs:
384389 - name : Create ${{ matrix.goarch }} release
385390 run : |
386391 make release deb RELEASEONLY=1 DEB_ARCH=${{ matrix.libc }}
387- cp -p build/release.tar.gz /tmp/tinygo${{ steps.version .outputs.version }}.linux-${{ matrix.goarch }}.tar.gz
388- cp -p build/release.deb /tmp/tinygo_${{ steps.version .outputs.version }}_${{ matrix.libc }}.deb
389- - name : Publish release artifact
392+ cp -p build/release.tar.gz /tmp/tinygo${{ needs.build-linux .outputs.version }}.linux-${{ matrix.goarch }}.tar.gz
393+ cp -p build/release.deb /tmp/tinygo_${{ needs.build-linux .outputs.version }}_${{ matrix.libc }}.deb
394+ - name : " Publish release artifact: tarball "
390395 uses : actions/upload-artifact@v7
391396 with :
392- name : linux-${{ matrix.goarch }}-double-zipped-${{ steps.version.outputs.version }}
393- path : |
394- /tmp/tinygo${{ steps.version.outputs.version }}.linux-${{ matrix.goarch }}.tar.gz
395- /tmp/tinygo_${{ steps.version.outputs.version }}_${{ matrix.libc }}.deb
397+ name : linux-${{ matrix.goarch }}-double-zipped-${{ needs.build-linux.outputs.version }}
398+ path : /tmp/tinygo${{ needs.build-linux.outputs.version }}.linux-${{ matrix.goarch }}.tar.gz
399+ archive : false
400+ - name : " Publish release artifact: Debian package"
401+ uses : actions/upload-artifact@v7
402+ with :
403+ name : linux-${{ matrix.goarch }}-double-zipped-${{ needs.build-linux.outputs.version }}
404+ path : /tmp/tinygo_${{ needs.build-linux.outputs.version }}_${{ matrix.libc }}.deb
405+ archive : false
0 commit comments