From f7f050497ce7c5c500416a536610887702e2ea24 Mon Sep 17 00:00:00 2001 From: automatic9045 <67314487+automatic9045@users.noreply.github.com> Date: Sat, 4 Jan 2025 19:18:06 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20[Actions]SDK=E3=81=AE=E3=83=91?= =?UTF-8?q?=E3=83=83=E3=82=B1=E3=83=BC=E3=82=B8=E3=83=B3=E3=82=B0=E6=A9=9F?= =?UTF-8?q?=E8=83=BD=E3=82=92=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9df9626f..12a72f67 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,15 @@ jobs: with: ref: ${{ github.head_ref }} path: Target\ + - name: Package SDK + run: | + cd Target + Add-Content -Path $env:GITHUB_ENV -Value "GIT_HASH=$(git rev-parse --short HEAD)" + - name: Upload artifacts 1/3 (SDK) + uses: actions/upload-artifact@v4 + with: + name: BveEX_SDK_${{ env.GIT_HASH }} + path: ./Target/SamplePlugins/* - name: Add msbuild to PATH uses: microsoft/setup-msbuild@v2 - name: Setup NuGet @@ -85,13 +94,12 @@ jobs: cd Target .\package.bat bin\Core .\package.bat bin\WithScenarios /s - Add-Content -Path $env:GITHUB_ENV -Value "GIT_HASH=$(git rev-parse --short HEAD)" - - name: Upload artifacts 1/2 (Core) + - name: Upload artifacts 2/3 (Core) uses: actions/upload-artifact@v4 with: name: BveEX_${{ env.GIT_HASH }} path: ./bin/Core/* - - name: Upload artifacts 2/2 (WithScenarios) + - name: Upload artifacts 3/3 (WithScenarios) uses: actions/upload-artifact@v4 with: name: BveEX_WithScenarios_${{ env.GIT_HASH }}