From 98d1ed8e2eb2cf815d7f83b4808deb3bf69db697 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=99=E5=A8=87?=
Date: Fri, 8 Mar 2024 23:45:11 +0800
Subject: [PATCH] check macos build result
---
.github/workflows/main.yml | 5 +++++
dmg/config.json | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e615327..1d8bf3f 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -110,6 +110,11 @@ jobs:
run: flutter config --enable-macos-desktop
- name: Build artifacts
run: flutter build macos --release
+ - name: macOS Release 1
+ uses: actions/upload-artifact@v4
+ with:
+ name: flut-renamer-macos-1
+ path: build/macos/Build/Products/Release
- name: install npm
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- name: install appdmg
diff --git a/dmg/config.json b/dmg/config.json
index 272497e..5fdde83 100644
--- a/dmg/config.json
+++ b/dmg/config.json
@@ -3,6 +3,6 @@
"icon": "../assets/desktop.png",
"contents": [
{ "x": 448, "y": 344, "type": "link", "path": "/Applications" },
- { "x": 192, "y": 344, "type": "file", "path": "../build/macos/Build/Products/Release/flut-renamer.app" }
+ { "x": 192, "y": 344, "type": "file", "path": "../build/macos/Build/Products/Release/FlutRenamer.app" }
]
}
\ No newline at end of file