mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-15 17:30:27 +08:00
build: Modify CI product name and remove unneeded files from the product package
This commit is contained in:
2
.github/workflows/dev-build-mac.yml
vendored
2
.github/workflows/dev-build-mac.yml
vendored
@@ -51,5 +51,5 @@ jobs:
|
||||
run: xcodebuild ARCHS="arm64 x86_64" CODE_SIGN_IDENTITY="-" DEVELOPMENT_TEAM="-" ONLY_ACTIVE_ARCH=NO -derivedDataPath DerivedData -project MeoAsstMac.xcodeproj -scheme MeoAsstMac
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: MaaBundle-darwin
|
||||
name: MAA-macOS
|
||||
path: src/MeoAsstMac/DerivedData/Build/Products/Debug
|
||||
|
||||
@@ -71,5 +71,5 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: artifacts
|
||||
name: MAA-Win-x64
|
||||
path: artifacts
|
||||
4
.github/workflows/release-maa-mac.yml
vendored
4
.github/workflows/release-maa-mac.yml
vendored
@@ -61,12 +61,12 @@ jobs:
|
||||
run: |
|
||||
GIT_TAG=${GITHUB_REF#refs/*/}
|
||||
echo "GIT_TAG=${GIT_TAG}" >> $GITHUB_ENV
|
||||
echo "APP_DMG=MaaBundle-darwin-${GIT_TAG}.dmg" >> $GITHUB_ENV
|
||||
echo "APP_DMG=MAA-macOS-${GIT_TAG}.dmg" >> $GITHUB_ENV
|
||||
echo "APP_SYM=MAA-DebugSymbol-macOS-${GIT_TAG}.zip" >> $GITHUB_ENV
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: MaaBundle-darwin
|
||||
name: MAA-macOS
|
||||
- name: 'Verify image'
|
||||
run: |
|
||||
mv MeoAsstMac.dmg $APP_DMG
|
||||
|
||||
@@ -48,12 +48,6 @@ MAA 的意思是 MAA Assistant Arknights
|
||||
|
||||
## 下载地址
|
||||
|
||||
***第一次使用请下载 `MaaBundle-vX.Y.Z.zip`***
|
||||
|
||||
***第一次使用请下载 `MaaBundle-vX.Y.Z.zip`***
|
||||
|
||||
***第一次使用请下载 `MaaBundle-vX.Y.Z.zip`***
|
||||
|
||||
[稳定版](https://github.com/MaaAssistantArknights/MaaAssistantArknights/releases/latest)
|
||||
[测试版](https://github.com/MaaAssistantArknights/MaaAssistantArknights/releases)
|
||||
|
||||
|
||||
@@ -48,12 +48,6 @@ Talk is cheap. Show me the pictures!
|
||||
|
||||
## Download
|
||||
|
||||
***Please download `MaaBundle-vX.Y.Z.zip` for first time use***
|
||||
|
||||
***Please download `MaaBundle-vX.Y.Z.zip` for first time use***
|
||||
|
||||
***Please download `MaaBundle-vX.Y.Z.zip` for first time use***
|
||||
|
||||
[Stable](https://github.com/MaaAssistantArknights/MaaAssistantArknights/releases/latest)
|
||||
[Development](https://github.com/MaaAssistantArknights/MaaAssistantArknights/releases)
|
||||
|
||||
@@ -150,7 +144,7 @@ Please refer to [Linux Tutorial](docs/en-us/2.1-LINUX_TUTORIAL.md)
|
||||
|
||||
- [C interface](include/AsstCaller.h): [Integration Example](tools/TestCaller/main.cpp)
|
||||
- [Python interface](src/Python/asst.py): [Integration Example](src/Python/sample.py)
|
||||
- [Golang interface](src/Golang/MaaAssistantArknights/): [Integration Example](src/Golang/MaaAssistantArknights/maa/maa.go)
|
||||
- [Golang interface](src/Golang/MaaAssistantArknights/): [Integration Example](src/Golang/MaaAssistantArknights/maa/maa.go)
|
||||
- [Dart interface](src/dart/)
|
||||
- [Java interface](src/Java/Maaj): [Integration Example](src/Java/Maaj/src/main/java/com/iguigui/maaj/MaaJavaSample.java)
|
||||
- [Rust interface](src/Rust/src/maa_sys/): [HTTP api](src/Rust)
|
||||
|
||||
@@ -48,12 +48,6 @@ UIを見れば使い方もすぐ分かる!
|
||||
|
||||
## ダウンロードリンク
|
||||
|
||||
***初めて使用する場合 `MaaBundle-vX.Y.Z.zip` をダウンロードしてください***
|
||||
|
||||
***初めて使用する場合 `MaaBundle-vX.Y.Z.zip` をダウンロードしてください***
|
||||
|
||||
***初めて使用する場合 `MaaBundle-vX.Y.Z.zip` をダウンロードしてください***
|
||||
|
||||
[安定版](https://github.com/MaaAssistantArknights/MaaAssistantArknights/releases/latest)
|
||||
[ベータ版](https://github.com/MaaAssistantArknights/MaaAssistantArknights/releases)
|
||||
|
||||
|
||||
@@ -48,12 +48,6 @@ MAA 的意思是 MAA Assistant Arknights
|
||||
|
||||
## 下載連結
|
||||
|
||||
***第一次使用請下載 `MaaBundle-vX.Y.Z.zip`***
|
||||
|
||||
***第一次使用請下載 `MaaBundle-vX.Y.Z.zip`***
|
||||
|
||||
***第一次使用請下載 `MaaBundle-vX.Y.Z.zip`***
|
||||
|
||||
[穩定版](https://github.com/MaaAssistantArknights/MaaAssistantArknights/releases/latest)
|
||||
[測試版](https://github.com/MaaAssistantArknights/MaaAssistantArknights/releases)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[
|
||||
{
|
||||
"name_template": "MaaBundle-{VERSION}",
|
||||
"name_template": "MAA-Win-x64-{VERSION}",
|
||||
"type": "MaaBundle",
|
||||
"configuration": {
|
||||
"include": [
|
||||
@@ -9,14 +9,13 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name_template": "MaaBundle-OTA-{VERSION}",
|
||||
"name_template": "MAA-OTA-Win-x64-{VERSION}",
|
||||
"type": "MaaBundleOta",
|
||||
"configuration": {
|
||||
"include": [
|
||||
"resource/**",
|
||||
"MeoAssistant.dll",
|
||||
"MeoAsstGui.exe",
|
||||
"作业制作器/**"
|
||||
"MeoAsstGui.exe"
|
||||
],
|
||||
"exclude": [
|
||||
"**/PaddleOCR/**"
|
||||
@@ -24,7 +23,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name_template": "MaaCore-{VERSION}",
|
||||
"name_template": "MAA-Core-Win-x64-{VERSION}",
|
||||
"type": "MaaCore",
|
||||
"configuration": {
|
||||
"include": [
|
||||
@@ -33,7 +32,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name_template": "MaaDependency-{VERSION}",
|
||||
"name_template": "MAA-Dependency-Win-x64-{VERSION}",
|
||||
"type": "MaaDependency",
|
||||
"configuration": {
|
||||
"include": [
|
||||
@@ -48,7 +47,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name_template": "MaaDependencyNoAvx-{VERSION}",
|
||||
"name_template": "MAA-DependencyNoAvx-Win-x64-{VERSION}",
|
||||
"type": "MaaDependencyNoAvx",
|
||||
"configuration": {
|
||||
"include": [
|
||||
@@ -59,7 +58,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name_template": "MaaResource-{VERSION}",
|
||||
"name_template": "MAA-Resource-{VERSION}",
|
||||
"type": "MaaResource",
|
||||
"configuration": {
|
||||
"include": [
|
||||
@@ -71,7 +70,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name_template": "MaaDebugSymbol-{VERSION}",
|
||||
"name_template": "MAA-DebugSymbol-Win-x64-{VERSION}",
|
||||
"type": "MaaDebugSymbol",
|
||||
"configuration": {
|
||||
"include": [
|
||||
@@ -79,4 +78,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
@@ -465,7 +465,6 @@
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>xcopy /e /y /i /c "$(ProjectDir)..\..\3rdparty\tools" "$(TargetDir)"
|
||||
xcopy /e /y /i /c "$(ProjectDir)..\..\tools\CopilotDesinger\copilot-designer-deprecated" "$(TargetDir)\作业制作器"
|
||||
xcopy /e /y /i /c "$(ProjectDir)..\..\src\Python" "$(TargetDir)\Python"</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -33,7 +33,7 @@ public partial class Build : NukeBuild
|
||||
const string MasterBranch = "master";
|
||||
const string DevBranch = "dev";
|
||||
|
||||
const string MaaDevBundlePackageNameTemplate = "MaaBundle-Dev-{VERSION}";
|
||||
const string MaaDevBundlePackageNameTemplate = "MAA-Dev-Win-x64-{VERSION}";
|
||||
|
||||
string Version = "";
|
||||
string ChangeLog = "";
|
||||
|
||||
Reference in New Issue
Block a user