Skip to content

macos

macos #2

Workflow file for this run

name: macos
on: workflow_dispatch
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Flutter
uses: subosito/flutter-action@v1
with:
channel: "stable"
- name: Build MacOS
run: flutter build macos
- name: Archive Release files
run:
- cd build/macos/Build/Products/Release

Check failure on line 23 in .github/workflows/macos.yml

View workflow run for this annotation

GitHub Actions / macos

Invalid workflow file

The workflow is not valid. .github/workflows/macos.yml (Line: 23, Col: 11): A sequence was not expected
- zip -r MacOS.zip .
- name: Upload zip
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./build/macos/Build/Products/Release/MacOS.zip
asset_name: MacOS zip
tag: ${{ github.ref }}
overwrite: false