Skip to content

Commit

Permalink
manual build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tuler committed May 9, 2024
1 parent 4141022 commit 86ed08c
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 }}/

0 comments on commit 86ed08c

Please sign in to comment.