Update package workflow
This commit is contained in:
parent
790ab85c06
commit
cb8136c8fe
1 changed files with 6 additions and 2 deletions
8
.github/workflows/package.yml
vendored
8
.github/workflows/package.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
||||||
- name: Cache APT Packages
|
- name: Cache APT Packages
|
||||||
uses: awalsh128/cache-apt-pkgs-action@v1.3.0
|
uses: awalsh128/cache-apt-pkgs-action@v1.3.0
|
||||||
with:
|
with:
|
||||||
packages: "build-essential ffmpeg tini curl libjemalloc-dev libjemalloc2 uuid-dev libx11-dev libxkbfile-dev execstack libgconf-2-4 libsecret-1-dev"
|
packages: "build-essential binfmt-support qemu-user-static ffmpeg tini curl libjemalloc-dev libjemalloc2 uuid-dev libx11-dev libxkbfile-dev execstack libgconf-2-4 libsecret-1-dev"
|
||||||
|
|
||||||
- name: Cache node modules
|
- name: Cache node modules
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
@ -53,6 +53,10 @@ jobs:
|
||||||
key: v1-npm-deps-${{ hashFiles('**/package-lock.json') }}
|
key: v1-npm-deps-${{ hashFiles('**/package-lock.json') }}
|
||||||
restore-keys: v1-npm-deps-
|
restore-keys: v1-npm-deps-
|
||||||
|
|
||||||
|
- uses: MOZGIII/install-ldid-action@v1
|
||||||
|
with:
|
||||||
|
tag: v2.1.5-procursus2
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
corepack enable
|
corepack enable
|
||||||
|
@ -61,5 +65,5 @@ jobs:
|
||||||
npm install -g pkg
|
npm install -g pkg
|
||||||
pnpm run build
|
pnpm run build
|
||||||
cd packages/backend
|
cd packages/backend
|
||||||
pkg --public ./built/boot/entry.js
|
pkg --debug --public ./built/boot/entry.js --targets latest-linuxstatic-x64,latest-linuxstatic-arm64,latest-macos-x64,latest-macos-arm64,latest-win-x64
|
||||||
ls
|
ls
|
||||||
|
|
Loading…
Reference in a new issue