File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ jobs:
3030
3131 steps :
3232 - name : Download Node archive
33- uses : actions/download-artifact@v4
34- with :
35- # You must match the exact name used in build-node.yml
36- name : node- ${{ env.NODE_VERSION }}-${{ matrix.platform }}-${{ matrix.arch }}-LATEST
33+ run : |
34+ gh release download node-${{ env.NODE_VERSION }}-release --pattern "node-*.tar.xz"
35+ env :
36+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3737
3838 - name : Extract Node archive
3939 run : |
Original file line number Diff line number Diff line change 8686 with :
8787 name : node-${{ env.NODE_VERSION }}-${{ matrix.platform }}-${{ matrix.arch }}-LATEST
8888 path : artifacts/${{ env.NODE_ARCHIVE_LATEST }}
89+
90+ - name : Upload Node archive to release
91+ uses : softprops/action-gh-release@v1
92+ with :
93+ name : node-${{ env.NODE_VERSION }}-${{ matrix.platform }}-${{ matrix.arch }}-LATEST
94+ tag_name : node-${{ env.NODE_VERSION }}-release
95+ files : ./node-*.tar.xz
96+ env :
97+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments