Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Extremelyd1 committed Sep 7, 2024
1 parent 1987de2 commit 84be183
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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

Expand All @@ -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: |
Expand All @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-remover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit 84be183

Please sign in to comment.