Skip to content

Commit 4628a66

Browse files
trying a different way
1 parent 1838060 commit 4628a66

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/build-node-fibers.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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: |

.github/workflows/build-node.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,12 @@ jobs:
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 }}

0 commit comments

Comments
 (0)