Upload release artifacts
This commit is contained in:
parent
447399eb07
commit
2e75ae905d
1 changed files with 26 additions and 3 deletions
29
.github/workflows/package.yml
vendored
29
.github/workflows/package.yml
vendored
|
@ -4,9 +4,6 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- stable
|
||||
paths:
|
||||
- packages/**
|
||||
- locales/**
|
||||
release:
|
||||
types: [published]
|
||||
workflow_dispatch:
|
||||
|
@ -70,3 +67,29 @@ jobs:
|
|||
rollup ./built/boot/entry.js --file ./dist/bundle.js --format cjs
|
||||
pkg --debug --public ./dist/bundle.js --targets latest-linuxstatic-x64,latest-linuxstatic-arm64,latest-macos-x64,latest-macos-arm64,latest-win-x64
|
||||
ls
|
||||
- name: Upload linux x64
|
||||
uses: actions/upload-artifact@v3.1.3
|
||||
with:
|
||||
name: sharkey-linux-x64
|
||||
path: packages/backend/bundle-linuxstatic-x64
|
||||
- name: Upload linux arm64
|
||||
uses: actions/upload-artifact@v3.1.3
|
||||
with:
|
||||
name: sharkey-linux-arm64
|
||||
path: packages/backend/bundle-linuxstatic-arm64
|
||||
- name: Upload mac arm64
|
||||
uses: actions/upload-artifact@v3.1.3
|
||||
with:
|
||||
name: sharkey-macos-arm64
|
||||
path: packages/backend/bundle-macos-arm64
|
||||
- name: Upload mac x64
|
||||
uses: actions/upload-artifact@v3.1.3
|
||||
with:
|
||||
name: sharkey-macos-arm64
|
||||
path: packages/backend/bundle-macos-x64
|
||||
- name: Upload Windows
|
||||
uses: actions/upload-artifact@v3.1.3
|
||||
with:
|
||||
name: sharkey-win-x64.exe
|
||||
path: packages/backend/bundle-win-x64.exe
|
||||
|
||||
|
|
Loading…
Reference in a new issue