OSDN Git Service

GitHub Actionsで使用するactionをアップデート
authorKimura Youichi <kim.upsilon@bucyou.net>
Thu, 11 Jan 2024 16:36:50 +0000 (01:36 +0900)
committerKimura Youichi <kim.upsilon@bucyou.net>
Thu, 11 Jan 2024 16:45:28 +0000 (01:45 +0900)
.github/workflows/build.yml
.github/workflows/package.yml
.github/workflows/test.yml

index 331746e..5b0cc0c 100644 (file)
@@ -14,12 +14,12 @@ jobs:
     runs-on: windows-2022
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           ref: ${{ github.event.pull_request.head.sha }}
 
       - name: Add msbuild to PATH
-        uses: microsoft/setup-msbuild@v1.1
+        uses: microsoft/setup-msbuild@v1
 
       - name: Set configuration env
         shell: pwsh
@@ -43,7 +43,7 @@ jobs:
           msbuild /target:restore,build "/p:Configuration=$($env:CONFIGURATION)" /verbosity:minimal ${{ inputs.msbuild_args }}
 
       - name: Upload build result
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: build
           path: |
index aeda259..f559092 100644 (file)
@@ -20,12 +20,12 @@ jobs:
     needs: [build]
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           ref: '${{ github.event.pull_request.head.sha }}'
 
       - name: Add msbuild to PATH
-        uses: microsoft/setup-msbuild@v1.1
+        uses: microsoft/setup-msbuild@v1
 
       - name: Set configuration env
         shell: pwsh
@@ -37,7 +37,7 @@ jobs:
           }
 
       - name: Restore build result
-        uses: actions/download-artifact@v3
+        uses: actions/download-artifact@v4
         with:
           name: build
 
@@ -50,7 +50,7 @@ jobs:
           .\tools\build-zip-archive.ps1 -BinDir $binDir -DestPath $destPath
 
       - name: Upload build result
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: package
           path: |
index dcfad8c..a7d1d15 100644 (file)
@@ -17,12 +17,12 @@ jobs:
     needs: [build]
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           ref: ${{ github.event.pull_request.head.sha }}
 
       - name: Add msbuild to PATH
-        uses: microsoft/setup-msbuild@v1.1
+        uses: microsoft/setup-msbuild@v1
 
       - name: Set configuration env
         shell: pwsh
@@ -41,7 +41,7 @@ jobs:
             nuget-
 
       - name: Restore build result
-        uses: actions/download-artifact@v3
+        uses: actions/download-artifact@v4
         with:
           name: build
 
@@ -96,7 +96,7 @@ jobs:
             exit $p.ExitCode
           }
 
-      - uses: codecov/codecov-action@v3
+      - uses: codecov/codecov-action@v4.0.0-beta.3
         with:
           token: ${{ secrets.CODECOV_TOKEN }}
           fail_ci_if_error: true