Skip to content

Commit

Permalink
build: Update to actions/checkout@v3 (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
marklechtermann authored Nov 29, 2022
1 parent d25b545 commit 975ec94
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
runs-on: windows-2022

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.300

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: windows-2022

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.300

Expand All @@ -33,7 +33,7 @@ jobs:

- name: Test (Release)
run: dotnet test -c Release --no-build --verbosity normal

- name: Nuget pack library
run: dotnet pack -c Release src/dscom/dscom.csproj

Expand All @@ -55,13 +55,13 @@ jobs:
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: src\dscom.client\bin\Release\net6.0\win-x86\publish\dscom32.exe
files: src\dscom.client\bin\Release\net6.0\win-x86\publish\dscom32.exe

- name: Publish 64Bit binary
run: dotnet publish .\src\dscom.client\dscom.client.csproj --no-self-contained -c Release -r win-x64 -f net6.0 /p:PublishSingleFile=true

- name: Release 64Bit binary
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: src\dscom.client\bin\Release\net6.0\win-x64\publish\dscom.exe
files: src\dscom.client\bin\Release\net6.0\win-x64\publish\dscom.exe

0 comments on commit 975ec94

Please sign in to comment.