Skip to content

Commit

Permalink
Build with .NET 7.0
Browse files Browse the repository at this point in the history
Both CI and releases
  • Loading branch information
mcraiha committed Nov 15, 2022
1 parent 77768fe commit c7edcbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-do-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x
- name: Get current tag
run: echo "CURRENT_TAG=`git describe --tags --abbrev=0`" >> $GITHUB_ENV
- name: Restore dependencies
run: dotnet restore
- name: Build a Win-x64 release
run: dotnet publish -c Release -f net6.0 -r win-x64 -p:PublishSingleFile=true --self-contained true -o publish
run: dotnet publish -c Release -f net7.0 -r win-x64 -p:PublishSingleFile=true --self-contained true -o publish
- name: Rename and move Win-x64 binary
run: mv publish/Dithery-cli.exe dithery.exe
- name: Build a Linux-x64 release
run: dotnet publish -c Release -f net6.0 -r linux-x64 -p:PublishSingleFile=true --self-contained true -o publish
run: dotnet publish -c Release -f net7.0 -r linux-x64 -p:PublishSingleFile=true --self-contained true -o publish
- name: Rename and move Linux-x64 binary
run: mv publish/Dithery-cli dithery
- name: Install zip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 7.0.x
- name: Build
run: dotnet build --configuration Release

0 comments on commit c7edcbe

Please sign in to comment.