-
-
Notifications
You must be signed in to change notification settings - Fork 161
38 lines (31 loc) · 1001 Bytes
/
extension.yml
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: Extension Release Build
on:
push:
tags:
- 'extension/v[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v4
- name: Setup
uses: ./tooling/github/setup
- name: Build the extension (chrome)
working-directory: apps/browser-extension
run: pnpm run build --outDir dist-chrome
- name: Build the extension (firefox)
env:
VITE_BUILD_FIREFOX: true
working-directory: apps/browser-extension
run: pnpm run build --outDir dist-firefox
- name: Upload Extension Archive (chrome)
uses: actions/upload-artifact@v4
with:
name: hoarder-extension-chrome
path: apps/browser-extension/dist-chrome/*
- name: Upload Extension Archive (firefox)
uses: actions/upload-artifact@v4
with:
name: hoarder-extension-firefox
path: apps/browser-extension/dist-firefox/*