build: Modify CI product name and remove unneeded files from the product package

This commit is contained in:
MistEO
2022-10-15 16:17:22 +08:00
parent 769082db9c
commit c353fc7c7c
11 changed files with 15 additions and 41 deletions

View File

@@ -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

View File

@@ -71,5 +71,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v1
with:
name: artifacts
name: MAA-Win-x64
path: artifacts

View File

@@ -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