2022-12-02 23:07:33 -08:00
|
|
|
name: Build and Release Windows
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- "v*"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build_win:
|
2023-02-11 03:26:29 -08:00
|
|
|
runs-on: windows-2022
|
2022-12-02 23:07:33 -08:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
|
2023-02-11 03:26:29 -08:00
|
|
|
- name: env
|
2022-12-02 23:07:33 -08:00
|
|
|
run: |
|
2023-02-11 03:26:29 -08:00
|
|
|
type build.env >> $env:GITHUB_ENV
|
|
|
|
|
|
|
|
- name: build
|
|
|
|
shell: bash
|
|
|
|
run: ./build-scripts/build-win.sh "${{ env.FLUTTER_VERSION }}"
|
2022-12-02 23:07:33 -08:00
|
|
|
|
|
|
|
- name: Release
|
|
|
|
uses: softprops/action-gh-release@v1
|
|
|
|
if: startsWith(github.ref, 'refs/tags/v')
|
|
|
|
with:
|
|
|
|
files: |
|
|
|
|
./ywallet.zip
|
2022-12-14 00:24:31 -08:00
|
|
|
./YWallet.msix
|