mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
73 lines
2.1 KiB
YAML
73 lines
2.1 KiB
YAML
name: Release Package Distribution
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
mirrorchyan:
|
|
name: Upload to MirrorChyan
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- name: Upload MAA win x64
|
|
uses: MirrorChyan/uploading-action@v1
|
|
if: always()
|
|
with:
|
|
filetype: latest-release
|
|
filename: "*MAA-*-win-x64.zip"
|
|
mirrorchyan_rid: MAA
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
owner: ${{ github.repository_owner }}
|
|
repo: ${{ github.event.repository.name }}
|
|
upload_token: ${{ secrets.MirrorChyanUploadToken }}
|
|
os: win
|
|
arch: x64
|
|
|
|
- name: Upload MAA win arm64
|
|
uses: MirrorChyan/uploading-action@v1
|
|
if: always()
|
|
with:
|
|
filetype: latest-release
|
|
filename: "*MAA-*-win-arm64.zip"
|
|
mirrorchyan_rid: MAA
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
owner: ${{ github.repository_owner }}
|
|
repo: ${{ github.event.repository.name }}
|
|
upload_token: ${{ secrets.MirrorChyanUploadToken }}
|
|
os: win
|
|
arch: arm64
|
|
|
|
- name: Upload MAA macos arm64
|
|
uses: MirrorChyan/uploading-action@v1
|
|
if: always()
|
|
with:
|
|
filetype: latest-release
|
|
filename: "MAA-*-macos-universal.dmg"
|
|
extra_zip: true
|
|
mirrorchyan_rid: MAA
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
owner: ${{ github.repository_owner }}
|
|
repo: ${{ github.event.repository.name }}
|
|
upload_token: ${{ secrets.MirrorChyanUploadToken }}
|
|
os: macos
|
|
arch: arm64
|
|
|
|
- name: Upload MAA macos x64
|
|
uses: MirrorChyan/uploading-action@v1
|
|
if: always()
|
|
with:
|
|
filetype: latest-release
|
|
filename: "MAA-*-macos-universal.dmg"
|
|
extra_zip: true
|
|
mirrorchyan_rid: MAA
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
owner: ${{ github.repository_owner }}
|
|
repo: ${{ github.event.repository.name }}
|
|
upload_token: ${{ secrets.MirrorChyanUploadToken }}
|
|
os: macos
|
|
arch: x64
|