zwallet/.github/workflows/build-mac.yml

31 lines
630 B
YAML

name: Build and Release MacOS Universal
on:
workflow_dispatch:
push:
tags:
- "v*"
jobs:
build_mac:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: env
run: |
cat build.env >> $GITHUB_ENV
echo $PWD/flutter/bin >> $GITHUB_PATH
- name: build
run: ./build-scripts/build-mac.sh "${{ env.FLUTTER_VERSION }}"
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: |
./ywallet-universal.dmg