Browse Source

Updates project refs

Tigger Kindel 2 năm trước cách đây
mục cha
commit
0db8ef6890
2 tập tin đã thay đổi với 6 bổ sung6 xóa
  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
 
     - 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: |

+ 4 - 4
.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