mirror of https://github.com/nodejs/corepack.git
Update build.yml
This commit is contained in:
parent
5c27730f84
commit
81f081362b
|
|
@ -1,16 +1,17 @@
|
||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_dispatch:
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
platform: [ubuntu-latest, macos-latest]
|
platform:
|
||||||
|
- [linux, ubuntu-latest]
|
||||||
|
- [darwin, macos-latest]
|
||||||
|
|
||||||
runs-on: ${{matrix.platform}}
|
runs-on: ${{matrix.platform[1]}}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
@ -30,9 +31,10 @@ jobs:
|
||||||
git add . && git commit -m 'Updates pmm'
|
git add . && git commit -m 'Updates pmm'
|
||||||
./configure
|
./configure
|
||||||
DISTTYPE=nightly DATESTRING=YYYY-MM-DD COMMIT=XXXX make binary -j8
|
DISTTYPE=nightly DATESTRING=YYYY-MM-DD COMMIT=XXXX make binary -j8
|
||||||
|
tar xvf node-v15.0.0-nightlyYYYY-MM-DDXXXX-*.tar.gz
|
||||||
|
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: binary
|
name: node-pmm-${{matrix.platform[0]}}-x64
|
||||||
path: node/node-v15.0.0-nightlyYYYY-MM-DDXXXX-*.tar.gz
|
path: node/node-v15.0.0-nightlyYYYY-MM-DDXXXX-${{matrix.platform[0]}}-x64
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue