-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnodejs.yaml
More file actions
30 lines (25 loc) · 788 Bytes
/
nodejs.yaml
File metadata and controls
30 lines (25 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Release Node.js versions
on:
workflow_dispatch:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: ["22.3.0"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Download Node.js
run: |
curl -LO https://nodejs.org/dist/v${{ matrix.node_version }}/node-v${{ matrix.node_version }}-darwin-x64.tar.gz
- name: Upload Binaries to Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: node-v${{ matrix.node_version }}-darwin-x64.tar.gz
asset_name: node-v${{ matrix.node_version }}-darwin-x64.tar.gz
tag: node-${{ matrix.node_version }}-macos11
overwrite: false