diff --git a/.github/workflows/build-do-releases.yml b/.github/workflows/build-do-releases.yml index ee805da..0839601 100644 --- a/.github/workflows/build-do-releases.yml +++ b/.github/workflows/build-do-releases.yml @@ -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 diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index e17dec7..4a1b3a5 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -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