-
Notifications
You must be signed in to change notification settings - Fork 9
61 lines (47 loc) · 1.86 KB
/
build.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Build
on:
workflow_dispatch:
jobs:
build-macos-version:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Install ExPackages
run: "npm install -D unplugin-vue-components unplugin-auto-import"
- name: Wails Build Action (macos)
# You may pin to the exact commit or the version.
# uses: cryptodeal/wails-bun-build-action@92cb2b7027a9cf33c3c626e0d002e957cd0cc655
uses: dAppServer/[email protected]
with:
# The name of the binary file
build-name: BADownloader
# Platform to build for
build-platform: darwin
build-windows-version:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Install ExPackages
run: "npm install -D unplugin-vue-components unplugin-auto-import"
- name: Wails Build Action (windows)
# You may pin to the exact commit or the version.
# uses: cryptodeal/wails-bun-build-action@92cb2b7027a9cf33c3c626e0d002e957cd0cc655
uses: dAppServer/[email protected]
with:
# The name of the binary file
build-name: BADownloader.exe
# Platform to build for
build-platform: windows
# - name: Upload to Release Action
# # You may pin to the exact commit or the version.
# # uses: Shopify/upload-to-release@c77c9b3e5d288adaef98a7007bf92340ec6ce03b
# uses: Shopify/[email protected]
# with:
# # Artifact name
# name: BiliAudioDownloader-win-amd64.exe
# # Path to the file to upload
# path: ./build/bin/BiliAudioDownloader.exe
# # secrets.GITHUB_TOKEN
# repo-token: ${{ secrets.ACCESS_TOKEN }}