Skip to content

Commit

Permalink
Merge pull request #405 from NetOfficeFw/dev/update_actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefizso authored Feb 16, 2024
2 parents 38e27c6 + 976abf0 commit e1b1ffc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
labels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: gitlabels/gitlabels@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,33 @@ jobs:

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

- name: Setup dotnet
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '7.0.201'

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2

- name: Cache dotnet tools
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-dotnettools
with:
path: ~/.dotnet/tools
key: dotnettools

- name: Setup AzureSignTool
if: steps.cache-dotnettools.outputs.cache-hit != 'true'
run: dotnet tool install --verbosity minimal --global azuresigntool --version 3.0.0
run: dotnet tool install --verbosity minimal --global azuresigntool --version 4.0.1

- name: Setup NuGetKeyVaultSignTool
if: steps.cache-dotnettools.outputs.cache-hit != 'true'
run: dotnet tool install --verbosity minimal --global NuGetKeyVaultSignTool --version 3.2.2
run: dotnet tool install --verbosity minimal --global NuGetKeyVaultSignTool --version 3.2.3

- name: Cache packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: NetOffice-nuget-${{ hashFiles('**/packages.lock.json') }}
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
--verbose
- name: Archive NetOffice binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: NetOffice_binaries_v${{ steps.build.outputs.app_version_full }}_${{ matrix.configuration }}
path: '${{ github.workspace }}\Source\ClientApplication\bin\${{ matrix.configuration }}'
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:

- name: Archive NetOffice packages
if: success() && steps.build.outputs.publish_nuget == 'true'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: NetOffice_packages_v${{ steps.build.outputs.app_version_full }}
path: '${{ github.workspace }}\dist'
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@ jobs:

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

- name: Setup dotnet
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '7.0.201'

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
uses: microsoft/setup-msbuild@v2

- name: Cache packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: NetOffice-nuget-${{ hashFiles('**/packages.lock.json') }}
Expand All @@ -66,7 +66,7 @@ jobs:
VersionSuffix: ${{ steps.build.outputs.app_version_suffix }}

- name: Archive NetOffice binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: NetOffice_binaries_v${{ steps.build.outputs.app_version_full }}_${{ matrix.configuration }}
path: '${{ github.workspace }}\Source\ClientApplication\bin\${{ matrix.configuration }}'

0 comments on commit e1b1ffc

Please sign in to comment.