mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
build: rename CI package
This commit is contained in:
6
.github/workflows/dev-build-mac.yml
vendored
6
.github/workflows/dev-build-mac.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
macos-latest:
|
||||
runs-on: macos-12
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Cache Homebrew
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
- name: Build MeoAsstMac
|
||||
working-directory: src/MeoAsstMac
|
||||
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
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: MAA-macOS
|
||||
name: MAA-macos
|
||||
path: src/MeoAsstMac/DerivedData/Build/Products/Debug
|
||||
|
||||
12
.github/workflows/dev-build-win.yml
vendored
12
.github/workflows/dev-build-win.yml
vendored
@@ -9,12 +9,12 @@
|
||||
#
|
||||
# - To trigger manual generation invoke:
|
||||
#
|
||||
# nuke --generate-configuration GitHubActions_dev-build --host GitHubActions
|
||||
# nuke --generate-configuration GitHubActions_dev-build-win --host GitHubActions
|
||||
#
|
||||
# </auto-generated>
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
name: dev-build
|
||||
name: dev-build-win
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -55,9 +55,9 @@ jobs:
|
||||
name: windows-latest
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Cache .nuke/temp, ~/.nuget/packages
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
.nuke/temp
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
Reason: ${{ github.event.inputs.Reason }}
|
||||
ReleaseSimulation: ${{ github.event.inputs.ReleaseSimulation }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/upload-artifact@v1
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: MAA-Win-x64
|
||||
name: MAA-win-x64
|
||||
path: artifacts
|
||||
|
||||
12
.github/workflows/release-maa-mac.yml
vendored
12
.github/workflows/release-maa-mac.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
||||
name: macos-latest
|
||||
runs-on: macos-12
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: 'Install Developer ID Certificate'
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
- name: Upload products
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: MaaBundle-darwin
|
||||
name: MAA-macos
|
||||
path: |
|
||||
src/MeoAsstMac/MeoAsstMac.dmg
|
||||
src/MeoAsstMac/MeoAsstMac.xcarchive/dSYMs/MeoAsstMac.app.dSYM.zip
|
||||
@@ -61,12 +61,12 @@ jobs:
|
||||
run: |
|
||||
GIT_TAG=${GITHUB_REF#refs/*/}
|
||||
echo "GIT_TAG=${GIT_TAG}" >> $GITHUB_ENV
|
||||
echo "APP_DMG=MAA-macOS-${GIT_TAG}.dmg" >> $GITHUB_ENV
|
||||
echo "APP_SYM=MAA-DebugSymbol-macOS-${GIT_TAG}.zip" >> $GITHUB_ENV
|
||||
echo "APP_DMG=MAA-${GIT_TAG}-macos.dmg" >> $GITHUB_ENV
|
||||
echo "APP_SYM=MAAComponent-DebugSymbol-${GIT_TAG}-macos.zip" >> $GITHUB_ENV
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: MAA-macOS
|
||||
name: MAA-macos
|
||||
- name: 'Verify image'
|
||||
run: |
|
||||
mv MeoAsstMac.dmg $APP_DMG
|
||||
@@ -84,7 +84,7 @@ jobs:
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: 'MAA*-macOS-${{ env.GIT_TAG }}*'
|
||||
file: 'MAA*${{ env.GIT_TAG }}-macos*'
|
||||
file_glob: true
|
||||
tag: ${{ env.GIT_TAG }}
|
||||
overwrite: true
|
||||
|
||||
12
.github/workflows/release-maa-win.yml
vendored
12
.github/workflows/release-maa-win.yml
vendored
@@ -9,12 +9,12 @@
|
||||
#
|
||||
# - To trigger manual generation invoke:
|
||||
#
|
||||
# nuke --generate-configuration GitHubActions_release-maa --host GitHubActions
|
||||
# nuke --generate-configuration GitHubActions_release-maa-win --host GitHubActions
|
||||
#
|
||||
# </auto-generated>
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
name: release-maa
|
||||
name: release-maa-win
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -26,9 +26,9 @@ jobs:
|
||||
name: windows-latest
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Cache .nuke/temp, ~/.nuget/packages
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
.nuke/temp
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
env:
|
||||
PUBLISH_GH_PAT: ${{ secrets.PUBLISH_GH_PAT }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/upload-artifact@v1
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: artifacts
|
||||
name: MAA-win-x64
|
||||
path: artifacts
|
||||
|
||||
Reference in New Issue
Block a user