From c236810c2807cd0394e85852ae43e8d7dc7441cb Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Sat, 7 Dec 2024 18:14:42 +0100 Subject: [PATCH 1/2] Update GitHub Actions packages --- .github/workflows/build.yml | 12 ++++++------ .github/workflows/release.yml | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8728506..e48fe0f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,17 +21,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 +44,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 From ae87d006ede952500de86aa21857b8c807612fb4 Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Sat, 7 Dec 2024 18:19:25 +0100 Subject: [PATCH 2/2] Build all branches --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e48fe0f..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 ]