diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 7c4c8ff44..5f6c2229f 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -15,9 +15,9 @@ jobs: - uses: actions/checkout@v3 - name: Setup .NET Core - uses: actions/setup-dotnet@v3.0.3 + uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.100 + dotnet-version: 7.0 - name: Install dependencies run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 351071321..6d6787cc8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,12 +16,12 @@ jobs: fetch-depth: 0 #fetch-depth is needed for GitVersion - name: Install and calculate the new version with GitVersion - uses: gittools/actions/gitversion/setup@v0.10.2 + uses: gittools/actions/gitversion/setup@v0 with: versionSpec: 5.x - name: Determine Version - uses: gittools/actions/gitversion/execute@v0.10.2 + uses: gittools/actions/gitversion/execute@v0 id: gitversion # step id used as reference for output values - name: Display GitVersion outputs @@ -30,9 +30,9 @@ jobs: echo "CommitsSinceVersionSource: ${{ steps.gitversion.outputs.CommitsSinceVersionSource }}" - name: Setup dotnet - uses: actions/setup-dotnet@v3.0.3 + uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.100 + dotnet-version: 7.0 - name: Install dependencies run: dotnet restore