-
Notifications
You must be signed in to change notification settings - Fork 4
38 lines (32 loc) · 832 Bytes
/
release.yml
File metadata and controls
38 lines (32 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Release Executables for Windows and Linux
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install Dependencies
run: bun install
- name: Build Executables
run: |
bun run build:linux
bun run build:windows
- name: Move Artifacts
run: |
mv dist/morphaweb-linux-arm64 morphaweb-linux-arm64
mv dist/morphaweb-windows-x64.exe morphaweb-windows-x64.exe
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
morphaweb-linux-arm64
morphaweb-windows-x64.exe