Skip to content

Commit

Permalink
Update actions versions (#231)
Browse files Browse the repository at this point in the history
* Update build.yml

* Update release.yml

* Update build.yml
  • Loading branch information
acesnik authored Mar 11, 2023
1 parent f5bdf2c commit 63c3c3e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
runs-on: windows-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

Expand All @@ -29,7 +29,7 @@ jobs:
run: dotnet test --no-build --configuration Release --verbosity normal Spritz/Spritz.sln

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

- name: Build Installer
run: msbuild Spritz/SpritzInstaller/SpritzInstaller.wixproj /p:Configuration=Release
Expand All @@ -38,9 +38,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: windows-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

Expand All @@ -37,15 +37,15 @@ jobs:
dotnet test --configuration Release /p:Platform=x64 /p:Version=${version} --no-build Spritz/Spritz.sln
- name: Setup msbuild
uses: microsoft/setup-msbuild@v1
uses: microsoft/setup-msbuild@v1.1

- name: Build Installer
run: |
$version= &git describe --tags
msbuild Spritz/SpritzInstaller/SpritzInstaller.wixproj /p:Configuration=Release /p:Version=${version}
- name: Create archive
uses: thedoctor0/zip-release@master
uses: thedoctor0/zip-release@0.7.1
with:
type: 'zip'
filename: 'SpritzCMD.zip'
Expand All @@ -71,9 +71,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

Expand Down

0 comments on commit 63c3c3e

Please sign in to comment.