forked from nodejs/unofficial-builds
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 1007 Bytes
/
build.yml
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
31
32
33
34
35
36
37
38
39
name: build
on:
workflow_dispatch:
inputs:
version:
type: string
description: Node.js version to build (starting with 'v')
required: true
arch:
type: string
description: Architecture to build
default: riscv64
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
path: unofficial-builds
- name: build
run: bin/local_build.sh -r ${{ github.event.inputs.arch }} -v ${{ github.event.inputs.version }}
working-directory: unofficial-builds
env:
workdir: build
# - name: save logs
# uses: actions/upload-artifact@v3
# if: always()
# with:
# name: logs
# path: build/logs
- name: save download
uses: actions/upload-artifact@v3
if: always()
with:
name: download
path: staging/release/${{ github.event.inputs.version }}/