-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (30 loc) · 907 Bytes
/
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
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Build
on:
push:
branches: ["main"]
tags:
- "v*.*.*"
pull_request:
branches: ["main"]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: flutter config --enable-macos-desktop
- run: flutter build macos
- run: brew install create-dmg
- run: make create_dmg
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: "Alic Image Compressor.dmg"
body: "See [CHANGELOG](https://github.com/blopker/alic/blob/main/CHANGELOG.md) for details."