Skip to content

Commit

Permalink
Update Actions (#896)
Browse files Browse the repository at this point in the history
Updates all the actions to the latest version for speed and no warnings
hopefully
  • Loading branch information
MegaPiggy committed Jun 13, 2024
2 parents dc3f10b + 7dbf7c1 commit 4c36a32
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
schemas_changed: ${{ steps.changed_files.outputs.files_changed }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4

# Disable Strong Name Verification to let us pull a switch-a-roo
- name: Disable strong name validation
Expand All @@ -51,19 +51,19 @@ jobs:
run: rm .\NewHorizons\bin\${{ inputs.build_type }}\NewHorizons.xml

- name: Upload Mod Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: xen.NewHorizons.${{ inputs.build_type }}
path: .\NewHorizons\bin\${{ inputs.build_type }}

- name: Upload Schemas Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: NewHorizons-Schemas-${{ inputs.build_type }}
path: .\NewHorizons\Schemas

- name: Verify Changed Schemas
uses: tj-actions/verify-changed-files@v17
uses: tj-actions/verify-changed-files@v20
id: changed_files
with:
files: NewHorizons/Schemas/**
6 changes: 3 additions & 3 deletions .github/workflows/docs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download Schemas
if: ${{ inputs.schemas_artifact != 'null' }}
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.schemas_artifact }}
path: NewHorizons/Schemas
Expand All @@ -55,4 +55,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
- name: Read Manifest
id: read-manifest
uses: notiz-dev/github-action-json-property@release
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download Asset
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: xen.NewHorizons.Release
path: xen.NewHorizons
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update_schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.SCHEMAS_TOKEN }}

- name: Download Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ inputs.artifact_name }}
path: NewHorizons/Schemas/
Expand Down

0 comments on commit 4c36a32

Please sign in to comment.