Skip to content

Commit

Permalink
chore: [Actions]SDKのパッケージング機能を実装
Browse files Browse the repository at this point in the history
  • Loading branch information
automatic9045 committed Jan 4, 2025
1 parent 2967564 commit f7f0504
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit f7f0504

Please sign in to comment.