-
Notifications
You must be signed in to change notification settings - Fork 0
73 lines (62 loc) · 1.6 KB
/
build.yml
File metadata and controls
73 lines (62 loc) · 1.6 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Build and Package
on:
push:
branches: [ main ]
release:
types: [ published ]
jobs:
build_ptr_plugin:
runs-on: ubuntu-latest
defaults:
run:
shell: pwsh
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Run .NET build script
run: ./pack.ps1
- name: Upload .NET Artifacts (ARM64)
uses: actions/upload-artifact@v4
with:
name: TabPort-PTR-Plugin-arm64
path: bin/ARM64/*.zip
retention-days: 90
- name: Upload .NET Artifacts (x64)
uses: actions/upload-artifact@v4
with:
name: TabPort-PTR-Plugin-x64
path: bin/x64/*.zip
retention-days: 90
build_webext:
runs-on: ubuntu-latest
needs:
- build_ptr_plugin
defaults:
run:
shell: pwsh
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install yarn dependencies
run: yarn install
working-directory: TabPort-webext
- name: Build Node.js packages
run: |
yarn zip
yarn zip -b firefox
working-directory: TabPort-webext
- name: Upload Node.js Artifacts
uses: actions/upload-artifact@v4
with:
name: TabPort-webext
path: TabPort-webext/.output/*.zip
retention-days: 90
include-hidden-files: true