Skip to content

Commit

Permalink
GitHub Actionsで使用するactionをアップデート
Browse files Browse the repository at this point in the history
  • Loading branch information
upsilon committed Jan 11, 2024
1 parent 153767e commit 5e05959
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -37,7 +37,7 @@ jobs:
}
- name: Restore build result
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build

Expand All @@ -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: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -41,7 +41,7 @@ jobs:
nuget-
- name: Restore build result
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build

Expand Down Expand Up @@ -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

0 comments on commit 5e05959

Please sign in to comment.