mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 20:26:17 +00:00
Update build-binaries.yml
This commit is contained in:
@@ -13,8 +13,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
||||||
node-version: [18.x]
|
|
||||||
target:
|
target:
|
||||||
[
|
[
|
||||||
"node18-linux-x86",
|
"node18-linux-x86",
|
||||||
@@ -36,6 +34,10 @@ jobs:
|
|||||||
"node18-openbsd-arm64"
|
"node18-openbsd-arm64"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: ./backend
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -43,15 +45,15 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: 18.x
|
||||||
|
|
||||||
- name: Install dependencies (backend)
|
- name: Install dependencies for backend
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Install dependencies (frontend)
|
- name: Install dependencies for frontend
|
||||||
run: npm install --prefix ../frontend
|
run: npm install --prefix ../frontend
|
||||||
|
|
||||||
- name: Prerequisites
|
- name: Prerequisites for pkg
|
||||||
run: npm run binary:build
|
run: npm run binary:build
|
||||||
|
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
@@ -60,5 +62,5 @@ jobs:
|
|||||||
- name: Upload binaries
|
- name: Upload binaries
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: binaries-${{ matrix.os }}-${{ matrix.target }}
|
name: binaries-${{ matrix.target }}
|
||||||
path: ./binary/
|
path: ./backend/binary/
|
||||||
|
|||||||
Reference in New Issue
Block a user