Skip to content

Commit

Permalink
Update build workflow script
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefizso committed Feb 17, 2024
1 parent ad1968e commit 9610090
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup msbuild
uses: microsoft/setup-msbuild@v1.1.3
uses: microsoft/setup-msbuild@v2

- name: setup build information
id: build
run: .\.github\Get-BuildInfo.ps1 -ref '${{ github.ref }}' -event_name '${{ github.event_name }}' -configuration Release

- name: setup dotnet
if: steps.build.outputs.sign_binaries == 'true'
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '2.1.x'
dotnet-version: 8

- name: setup signtool
if: steps.build.outputs.sign_binaries == 'true'
Expand All @@ -52,7 +52,8 @@ jobs:
src/NetOfficeExtension/bin/Release/NetOfficeExtension.vsix
- name: upload artifact
uses: actions/upload-artifact@v3
if: always()
uses: actions/upload-artifact@v4
with:
name: NetOfficeExtension_${{ steps.build.outputs.app_version_full }}.vsix
path: src/NetOfficeExtension/bin/Release/NetOfficeExtension.vsix

0 comments on commit 9610090

Please sign in to comment.