diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7209182e..1578da3c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -26,10 +26,10 @@ jobs: steps: - name: Checkout commit - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: 6.0.x @@ -45,7 +45,7 @@ jobs: - name: Publish to GH Pages if: github.event_name == 'push' - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/_site diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 64581e8c..5a43a849 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -16,12 +16,12 @@ jobs: # If it is a push event, we checkout the commit - name: Checkout commit if: github.event_name == 'push' - uses: actions/checkout@v3 + uses: actions/checkout@v4 # If it is a PR, we checkout the head of the PR branch - name: Checkout PR branch if: github.event_name == 'pull_request_target' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} @@ -42,7 +42,7 @@ jobs: cp ${{ github.workspace }}/HKMP/lib/Newtonsoft.Json.dll ${{ github.workspace }}/HKMPServer/Lib - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: 6.0.x @@ -53,7 +53,7 @@ jobs: run: dotnet build --no-restore -c release --verbosity n ${{ github.workspace }} - name: Upload HKMP artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: HKMP path: | @@ -62,7 +62,7 @@ jobs: ${{ github.workspace }}/HKMP/bin/Release/net472/HKMP.pdb - name: Upload HKMPServer artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: HKMPServer path: | diff --git a/.github/workflows/label-remover.yml b/.github/workflows/label-remover.yml index 406f59d3..78389831 100644 --- a/.github/workflows/label-remover.yml +++ b/.github/workflows/label-remover.yml @@ -22,7 +22,7 @@ jobs: # Fail workflow to indicate that the PR has not been built because of new commits - name: Fail workflow if: github.event.action == 'synchronize' - uses: actions/github-script@v3 + uses: actions/github-script@v7 with: script: | core.setFailed('PR was not marked with "safe to build" label')