浏览代码

Updates project refs

Tigger Kindel 2 年之前
父节点
当前提交
0db8ef6890
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. 2 2
      .github/workflows/dotnet-core.yml
  2. 4 4
      .github/workflows/publish.yml

+ 2 - 2
.github/workflows/dotnet-core.yml

@@ -15,9 +15,9 @@ jobs:
     - uses: actions/checkout@v3
     - uses: actions/checkout@v3
 
 
     - name: Setup .NET Core
     - name: Setup .NET Core
-      uses: actions/setup-dotnet@v3.0.3
+      uses: actions/setup-dotnet@v3
       with:
       with:
-        dotnet-version: 6.0.100
+        dotnet-version: 7.0
 
 
     - name: Install dependencies
     - name: Install dependencies
       run: |
       run: |

+ 4 - 4
.github/workflows/publish.yml

@@ -16,12 +16,12 @@ jobs:
         fetch-depth: 0 #fetch-depth is needed for GitVersion
         fetch-depth: 0 #fetch-depth is needed for GitVersion
 
 
     - name: Install and calculate the new version with 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:
       with:
         versionSpec: 5.x
         versionSpec: 5.x
 
 
     - name: Determine Version
     - 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
       id: gitversion # step id used as reference for output values
 
 
     - name: Display GitVersion outputs
     - name: Display GitVersion outputs
@@ -30,9 +30,9 @@ jobs:
         echo "CommitsSinceVersionSource: ${{ steps.gitversion.outputs.CommitsSinceVersionSource }}"
         echo "CommitsSinceVersionSource: ${{ steps.gitversion.outputs.CommitsSinceVersionSource }}"
 
 
     - name: Setup dotnet
     - name: Setup dotnet
-      uses: actions/setup-dotnet@v3.0.3
+      uses: actions/setup-dotnet@v3
       with:
       with:
-        dotnet-version: 6.0.100
+        dotnet-version: 7.0
 
 
     - name: Install dependencies
     - name: Install dependencies
       run: dotnet restore
       run: dotnet restore