diff --git a/.github/workflows/build-and-pack.yaml b/.github/workflows/build-and-pack.yaml index 25e8239..7d5ad90 100644 --- a/.github/workflows/build-and-pack.yaml +++ b/.github/workflows/build-and-pack.yaml @@ -13,7 +13,7 @@ on: - "LICENSE" env: - APP_VERSION: "0.1.${{ github.run_id }}" + APP_VERSION: "0.2.${{ github.run_number }}" jobs: build-and-package: @@ -27,16 +27,16 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 5.0.x + dotnet-version: 6.x - name: dotnet publish - run: dotnet publish --self-contained -r win-x64 -f net5.0 -c release /p:Version=${{ env.APP_VERSION }} + run: dotnet publish --self-contained -r win-x64 -f net6.0 -c release /p:Version=${{ env.APP_VERSION }} - name: Upload binaries uses: actions/upload-artifact@v2 with: name: binaries - path: bin\Release\net5.0\win-x64\publish\** + path: bin\Release\net6.0\win-x64\publish\** - name: Package run: cd choco && choco pack --version ${{ env.APP_VERSION }} diff --git a/FileSorter.csproj b/FileSorter.csproj index dbd9f7b..4960df1 100644 --- a/FileSorter.csproj +++ b/FileSorter.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 FileSorter.Program false 0.0.1 diff --git a/choco/filesorter.nuspec b/choco/filesorter.nuspec index 2580319..fffa3a9 100644 --- a/choco/filesorter.nuspec +++ b/choco/filesorter.nuspec @@ -77,7 +77,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe - +