Skip to content

Commit

Permalink
Update: enable github action build_macosx.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
clearfeld committed Jun 13, 2023
1 parent 1614192 commit be4bea1
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/build_macosx.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
# name: Flutter MacOSX Build

# on:
# push:
# tags:
# - '*'
on:
push:
tags:
- '*'

# jobs:
# build_macosx:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v3
# - uses: subosito/flutter-action@v2
# with:
# channel: "stable"
# architecture: x64
# - run: flutter pub get
# - run: flutter config --enable-macos-desktop
# - run: flutter pub run realm generate
# - run: flutter gen-l10n
# - run: flutter build macos --release
# - name: Archive Release
# uses: thedoctor0/zip-release@master
# with:
# type: 'zip'
# filename: aspis-${{github.ref_name}}-macos.zip
# directory: build/macos/Build/Products/Release
# - name: macOS Release
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# files: build/macos/Build/Products/Release/aspis-${{github.ref_name}}-macos.zip
jobs:
build_macosx:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: "stable"
architecture: x64
- run: flutter pub get
- run: flutter config --enable-macos-desktop
- run: flutter pub run realm generate
- run: flutter gen-l10n
- run: flutter build macos --release
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
type: 'zip'
filename: aspis-${{github.ref_name}}-macos.zip
directory: build/macos/Build/Products/Release
- name: macOS Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: build/macos/Build/Products/Release/aspis-${{github.ref_name}}-macos.zip

0 comments on commit be4bea1

Please sign in to comment.