Skip to content

Commit

Permalink
chore: update build/publish to netcore7
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Sep 26, 2023
1 parent 75643e2 commit cfbf5ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ jobs:
build:
runs-on: windows-latest
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: 5.0.x
dotnet-version: |
7.0.x
5.0.x
- name: Restore dependencies
run: dotnet restore
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Parse Version
uses: web3j/substr-action@v1.2
Expand All @@ -21,9 +21,11 @@ jobs:
start: 1

- name: Setup .NET
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 5.0.x
dotnet-version: |
7.0.x
5.0.x
- name: Restore Dependencies
run: dotnet restore
Expand Down

0 comments on commit cfbf5ef

Please sign in to comment.