Upload release artifacts

This commit is contained in:
April John 2023-10-07 17:01:20 +02:00 committed by GitHub
parent 447399eb07
commit 2e75ae905d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,9 +4,6 @@ on:
push: push:
branches: branches:
- stable - stable
paths:
- packages/**
- locales/**
release: release:
types: [published] types: [published]
workflow_dispatch: workflow_dispatch:
@ -70,3 +67,29 @@ jobs:
rollup ./built/boot/entry.js --file ./dist/bundle.js --format cjs 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 pkg --debug --public ./dist/bundle.js --targets latest-linuxstatic-x64,latest-linuxstatic-arm64,latest-macos-x64,latest-macos-arm64,latest-win-x64
ls 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