mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
ci.移除旧 GitHub Actions 配置文件
This commit is contained in:
61
.github/workflows/maa-dev-build.yaml
vendored
61
.github/workflows/maa-dev-build.yaml
vendored
@@ -1,61 +0,0 @@
|
||||
name: "Maa Dev Build"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
paths:
|
||||
- src/MeoAssistant/**
|
||||
- src/MeoAssistantBuilder/**
|
||||
- src/MeoAsstGui/**
|
||||
- 3rdparty/**
|
||||
- include/**
|
||||
- MeoAssistantArknights.sln
|
||||
pull_request:
|
||||
paths:
|
||||
- src/MeoAssistant/**
|
||||
- src/MeoAssistantBuilder/**
|
||||
- src/MeoAsstGui/**
|
||||
- 3rdparty/**
|
||||
- include/**
|
||||
- MeoAssistantArknights.sln
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup .NET 6.0.x
|
||||
uses: actions/setup-dotnet@v2
|
||||
with:
|
||||
dotnet-version: 6.0.x
|
||||
|
||||
- name: Run dev build task
|
||||
run: pwsh .\build.ps1 DevBuild
|
||||
|
||||
- name: Read file name
|
||||
id: read_path
|
||||
run: pwsh .\read_path.ps1 ./artifacts MaaBundle*
|
||||
|
||||
- name: Upload Artifacts 0
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ steps.read_path.outputs.name_0 }}
|
||||
path: ${{ steps.read_path.outputs.path_0 }}
|
||||
|
||||
- name: Upload Artifacts 1
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ steps.read_path.outputs.name_1 }}
|
||||
path: ${{ steps.read_path.outputs.path_1 }}
|
||||
|
||||
- name: Upload Artifacts 2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ steps.read_path.outputs.name_2 }}
|
||||
path: ${{ steps.read_path.outputs.path_2 }}
|
||||
45
.github/workflows/maa-release-bundle.yaml
vendored
45
.github/workflows/maa-release-bundle.yaml
vendored
@@ -1,45 +0,0 @@
|
||||
name: Release MaaBundle
|
||||
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
|
||||
jobs:
|
||||
|
||||
release-bundle:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Get tag
|
||||
id: tag
|
||||
uses: dawidd6/action-get-tag@v1
|
||||
|
||||
- name: Setup .NET 6.0.x
|
||||
uses: actions/setup-dotnet@v2
|
||||
with:
|
||||
dotnet-version: 6.0.x
|
||||
|
||||
- name: Run release core task
|
||||
run: pwsh .\build.ps1 ReleaseBundle
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: MaaBundle-${{ steps.tag.outputs.tag }}
|
||||
path: ./artifacts/MaaBundle*
|
||||
|
||||
- name: Upload release assets
|
||||
uses: xresloader/upload-to-github-release@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
file: ./artifacts/MaaBundle*
|
||||
tags: true
|
||||
draft: false
|
||||
verbose: true
|
||||
45
.github/workflows/maa-release-core.yaml
vendored
45
.github/workflows/maa-release-core.yaml
vendored
@@ -1,45 +0,0 @@
|
||||
name: Release MaaCore
|
||||
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
|
||||
jobs:
|
||||
|
||||
release-core:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Get tag
|
||||
id: tag
|
||||
uses: dawidd6/action-get-tag@v1
|
||||
|
||||
- name: Setup .NET 6.0.x
|
||||
uses: actions/setup-dotnet@v2
|
||||
with:
|
||||
dotnet-version: 6.0.x
|
||||
|
||||
- name: Run release core task
|
||||
run: pwsh .\build.ps1 ReleaseCore
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: MaaCore-${{ steps.tag.outputs.tag }}
|
||||
path: ./artifacts/MaaCore*
|
||||
|
||||
- name: Upload release assets
|
||||
uses: xresloader/upload-to-github-release@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
file: ./artifacts/MaaCore*
|
||||
tags: true
|
||||
draft: false
|
||||
verbose: true
|
||||
39
.github/workflows/maa-release-resource.yaml
vendored
39
.github/workflows/maa-release-resource.yaml
vendored
@@ -1,39 +0,0 @@
|
||||
name: Release MaaResource
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- resource/**
|
||||
- 3rdparty/resource/**
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
release-resource:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup .NET 6.0.x
|
||||
uses: actions/setup-dotnet@v2
|
||||
with:
|
||||
dotnet-version: 6.0.x
|
||||
|
||||
- name: Run release resource task
|
||||
run: pwsh .\build.ps1 ReleaseResource
|
||||
|
||||
- name: Read file name
|
||||
id: read_path
|
||||
run: pwsh .\read_path.ps1 ./artifacts MaaResource*
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ steps.read_path.outputs.name_0 }}
|
||||
path: ${{ steps.read_path.outputs.path_0 }}
|
||||
38
.github/workflows/maa-release-wpf.yaml
vendored
38
.github/workflows/maa-release-wpf.yaml
vendored
@@ -1,38 +0,0 @@
|
||||
name: Release MaaWpf
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- src/MeoAsstGui/**
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
release-wpf:
|
||||
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup .NET 6.0.x
|
||||
uses: actions/setup-dotnet@v2
|
||||
with:
|
||||
dotnet-version: 6.0.x
|
||||
|
||||
- name: Run release wpf task
|
||||
run: pwsh .\build.ps1 ReleaseWpf
|
||||
|
||||
- name: Read file name
|
||||
id: read_path
|
||||
run: pwsh .\read_path.ps1 ./artifacts MaaWpf*
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ steps.read_path.outputs.name_0 }}
|
||||
path: ${{ steps.read_path.outputs.path_0 }}
|
||||
Reference in New Issue
Block a user