update prebuild yml
This commit is contained in:
parent
54a73e3396
commit
0d0670db7d
72
.github/workflows/prebuild.yml
vendored
72
.github/workflows/prebuild.yml
vendored
@ -1,38 +1,38 @@
|
|||||||
on:
|
on:
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: [on-demand-build]
|
types: [on-demand-build]
|
||||||
release:
|
release:
|
||||||
types: [created]
|
types: [created]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-18.04, windows-latest, macos-latest]
|
os: [ubuntu-18.04, windows-latest, macos-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.ref }}
|
ref: feature/complete-qt-control
|
||||||
- uses: actions/setup-node@master
|
- uses: actions/setup-node@master
|
||||||
with:
|
with:
|
||||||
node-version: '13.x'
|
node-version: "13.x"
|
||||||
- name: Install ubuntu deps
|
- name: Install ubuntu deps
|
||||||
if: contains(matrix.os, 'ubuntu')
|
if: contains(matrix.os, 'ubuntu')
|
||||||
run: sudo apt install mesa-common-dev libglu1-mesa-dev
|
run: sudo apt install mesa-common-dev libglu1-mesa-dev
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: npm install
|
run: npm install
|
||||||
env:
|
env:
|
||||||
SKIP_BUILD: 1
|
SKIP_BUILD: 1
|
||||||
- name: Change version if master
|
- name: Change version if master
|
||||||
if: contains(github.event.client_payload.tag, '0.0.0-latest-master')
|
if: contains(github.event.client_payload.tag, '0.0.0-latest-master')
|
||||||
run: npm --no-git-tag-version version 0.0.0-latest-master
|
run: npm --no-git-tag-version version 0.0.0-latest-master
|
||||||
- name: Prebuild binary
|
- name: Prebuild binary
|
||||||
run: npx prebuild --all --backend=cmake-js --strip --runtime=napi --include-regex="\.[n,e,l][a-z]*$"
|
run: npx prebuild --all --backend=cmake-js --strip --runtime=napi --include-regex="\.[n,e,l][a-z]*$"
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@master
|
uses: softprops/action-gh-release@master
|
||||||
with:
|
with:
|
||||||
files: prebuilds/@nodegui/*.tar.gz
|
files: prebuilds/@nodegui/*.tar.gz
|
||||||
tag_name: ${{ github.event.release.tag_name || github.event.client_payload.tag }}
|
tag_name: ${{ github.event.release.tag_name || github.event.client_payload.tag }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nodegui/nodegui",
|
"name": "@nodegui/nodegui",
|
||||||
"version": "0.15.0-alpha-2",
|
"version": "0.15.0-alpha-3",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nodegui/nodegui",
|
"name": "@nodegui/nodegui",
|
||||||
"version": "0.15.0-alpha-2",
|
"version": "0.15.0-alpha-3",
|
||||||
"description": "A cross platform library to build native desktop apps.",
|
"description": "A cross platform library to build native desktop apps.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user