diff --git a/.github/workflows/maa-dev-build.yaml b/.github/workflows/maa-dev-build.yaml deleted file mode 100644 index aa321e67d0..0000000000 --- a/.github/workflows/maa-dev-build.yaml +++ /dev/null @@ -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 }} diff --git a/.github/workflows/maa-release-bundle.yaml b/.github/workflows/maa-release-bundle.yaml deleted file mode 100644 index eb25aaa7f0..0000000000 --- a/.github/workflows/maa-release-bundle.yaml +++ /dev/null @@ -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 diff --git a/.github/workflows/maa-release-core.yaml b/.github/workflows/maa-release-core.yaml deleted file mode 100644 index c8735c956f..0000000000 --- a/.github/workflows/maa-release-core.yaml +++ /dev/null @@ -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 diff --git a/.github/workflows/maa-release-resource.yaml b/.github/workflows/maa-release-resource.yaml deleted file mode 100644 index d68e94c4da..0000000000 --- a/.github/workflows/maa-release-resource.yaml +++ /dev/null @@ -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 }} diff --git a/.github/workflows/maa-release-wpf.yaml b/.github/workflows/maa-release-wpf.yaml deleted file mode 100644 index 6dadea0963..0000000000 --- a/.github/workflows/maa-release-wpf.yaml +++ /dev/null @@ -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 }}