From b8cc6d9809c876ee607eb2d3e3390b35b4fb3c62 Mon Sep 17 00:00:00 2001 From: Menci Date: Mon, 14 Oct 2024 02:05:23 +0800 Subject: [PATCH] CI (#62) --- .github/workflows/aquamai.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/aquamai.yaml b/.github/workflows/aquamai.yaml index 1b5ee84e..35da4dd4 100644 --- a/.github/workflows/aquamai.yaml +++ b/.github/workflows/aquamai.yaml @@ -11,11 +11,6 @@ on: jobs: build: runs-on: windows-latest - strategy: - matrix: - target: - - SDEZ - - SDGA145 steps: - uses: actions/checkout@v4 @@ -32,13 +27,13 @@ jobs: - name: Build AquaMai shell: cmd run: | - copy /y build-assets\${{ matrix.target }}\* AquaMai\Libs + copy /y build-assets\SDEZ\* AquaMai\Libs cd AquaMai - dotnet build -c Release /p:DefineConstants="${{ matrix.target }}" + dotnet build -c Release - uses: actions/upload-artifact@v4 with: - name: ${{ matrix.target }} + name: AquaMai path: AquaMai\Output\AquaMai.dll - name: Send to Telegram @@ -47,7 +42,7 @@ jobs: $Uri = "https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument" $Form = @{ chat_id = "-1002231087502" - caption = "${{ github.event.commits[0].message }} `n`nFor ${{ matrix.target }}" + caption = "${{ github.event.commits[0].message }}" document = Get-Item AquaMai\Output\AquaMai.dll } Invoke-RestMethod -Uri $uri -Form $Form -Method Post