-
Notifications
You must be signed in to change notification settings - Fork 24
42 lines (35 loc) · 918 Bytes
/
build-win.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
name: Build and Release Windows
on:
workflow_dispatch:
push:
tags:
- "v*"
jobs:
build_win:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: env
run: |
type build.env >> $env:GITHUB_ENV
echo 'D:\flutter\bin' >> $env:GITHUB_PATH
echo $env:GITHUB_PATH
- name: build 1/3
shell: bash
run: ./build-scripts/build-win1.sh "${{ env.FLUTTER_VERSION }}"
- name: build 2/3
run: cargo b -r --features=dart_ffi,sqlcipher,ledger
env:
HOME: 'D:\'
- name: build 3/3
shell: bash
run: ./build-scripts/build-win2.sh
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: |
./ywallet.zip
./YWallet.msix