diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a1f96eb..79d1a01 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -7,11 +7,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: Restore dependencies run: dotnet restore source - name: Build diff --git a/.github/workflows/PreRelease.yml b/.github/workflows/PreRelease.yml index 5755685..67dacf5 100644 --- a/.github/workflows/PreRelease.yml +++ b/.github/workflows/PreRelease.yml @@ -8,21 +8,21 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v0 + uses: gittools/actions/gitversion/setup@v4.2.0 with: - versionSpec: "5.x" + versionSpec: "6.x" - name: Determine Version id: gitversion - uses: gittools/actions/gitversion/execute@v0 + uses: gittools/actions/gitversion/execute@v4.2.0 with: useConfigFile: true - name: Pack diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 67c93af..b51bfae 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -8,21 +8,21 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Setup .NET - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - run: echo "ACTIONS_ALLOW_UNSECURE_COMMANDS=true" >> $GITHUB_ENV - name: Install GitVersion - uses: gittools/actions/gitversion/setup@v0 + uses: gittools/actions/gitversion/setup@v4.2.0 with: - versionSpec: "5.x" + versionSpec: "6.x" - name: Determine Version id: gitversion - uses: gittools/actions/gitversion/execute@v0 + uses: gittools/actions/gitversion/execute@v4.2.0 with: useConfigFile: true - name: Pack @@ -41,12 +41,10 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create Release id: create_release - uses: actions/create-release@v1 + run: | + gh release create "${{ steps.gitversion.outputs.majorMinorPatch }}" \ + --repo="$GITHUB_REPOSITORY" \ + --title="Release ${{ steps.gitversion.outputs.majorMinorPatch }}" \ + --notes-file=CHANGELOG.md env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ steps.gitversion.outputs.majorMinorPatch }} - release_name: Release ${{ steps.gitversion.outputs.majorMinorPatch }} - body_path: CHANGELOG.md - draft: false - prerelease: false diff --git a/source/NoCommons.Tests/NoCommons.Tests.csproj b/source/NoCommons.Tests/NoCommons.Tests.csproj index 8d4f059..ce9f24f 100644 --- a/source/NoCommons.Tests/NoCommons.Tests.csproj +++ b/source/NoCommons.Tests/NoCommons.Tests.csproj @@ -1,7 +1,7 @@  - net8.0;net9.0 + net8.0;net9.0;net10.0 enable enable true diff --git a/source/NoCommons/NoCommons.csproj b/source/NoCommons/NoCommons.csproj index f879095..d06c8e4 100644 --- a/source/NoCommons/NoCommons.csproj +++ b/source/NoCommons/NoCommons.csproj @@ -1,6 +1,6 @@  - net8.0;net9.0 + net8.0;net9.0;net10.0 enable enable NoCommons