Last active
May 26, 2023 03:28
-
-
Save DargonLee/917de1909fa17e181a872ef62af6a358 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-mac-actions | |
on: [push] | |
run-name: ${{ github.actor }} is package mac app actions | |
jobs: | |
build: | |
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 build macos | |
- run: ls ${{ github.workspace }} | |
- run: echo "🍏 This job's status is ${{ job.status }}." | |
- run: mkdir build/macos/Build/Products/Release/EasyPasta | |
- run: mv build/macos/Build/Products/Release/EasyPasta.app build/macos/Build/Products/Release/EasyPasta | |
- name: Publish Mac Artefacts | |
uses: actions/upload-artifact@v1 | |
with: | |
name: release-mac-app | |
path: build/macos/Build/Products/Release/EasyPasta |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment