diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8728506..1065fdf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,7 +2,6 @@ name: build on: push: - branches: [ main, nuspec ] pull_request: branches: [ main ] @@ -21,17 +20,17 @@ jobs: steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: setup dotnet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: - dotnet-version: 6 + dotnet-version: 8 - name: setup msbuild - uses: microsoft/setup-msbuild@v1 + uses: microsoft/setup-msbuild@v2 - name: build run: dotnet build -c ${{ env.Configuration }} @@ -44,7 +43,7 @@ jobs: - name: archive if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: NetOfficeFw.Build-${{ env.VersionSuffix }}.nupkg + name: NetOfficeFw.Build-${{ env.VersionSuffix }}.${{ matrix.configuration }}.nupkg path: dist/NetOfficeFw.Build.*.nupkg diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b19c93b..d87e486 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,17 +15,17 @@ jobs: steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: setup dotnet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: 6 - name: setup msbuild - uses: microsoft/setup-msbuild@v1 + uses: microsoft/setup-msbuild@v2 - name: setup NuGetKeyVaultSignTool run: dotnet tool install --verbosity minimal --global NuGetKeyVaultSignTool --version 3.2.3