Update Actions (#896)

Updates all the actions to the latest version for speed and no warnings
hopefully
This commit is contained in:
Noah Pilarski 2024-06-12 23:20:54 -04:00 committed by GitHub
commit 4c36a329b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 12 deletions

View File

@ -29,10 +29,10 @@ jobs:
schemas_changed: ${{ steps.changed_files.outputs.files_changed }} schemas_changed: ${{ steps.changed_files.outputs.files_changed }}
steps: steps:
- name: Checkout Repo - name: Checkout Repo
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Setup .NET - 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 # Disable Strong Name Verification to let us pull a switch-a-roo
- name: Disable strong name validation - name: Disable strong name validation
@ -51,19 +51,19 @@ jobs:
run: rm .\NewHorizons\bin\${{ inputs.build_type }}\NewHorizons.xml run: rm .\NewHorizons\bin\${{ inputs.build_type }}\NewHorizons.xml
- name: Upload Mod Artifact - name: Upload Mod Artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: xen.NewHorizons.${{ inputs.build_type }} name: xen.NewHorizons.${{ inputs.build_type }}
path: .\NewHorizons\bin\${{ inputs.build_type }} path: .\NewHorizons\bin\${{ inputs.build_type }}
- name: Upload Schemas Artifact - name: Upload Schemas Artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: NewHorizons-Schemas-${{ inputs.build_type }} name: NewHorizons-Schemas-${{ inputs.build_type }}
path: .\NewHorizons\Schemas path: .\NewHorizons\Schemas
- name: Verify Changed Schemas - name: Verify Changed Schemas
uses: tj-actions/verify-changed-files@v17 uses: tj-actions/verify-changed-files@v20
id: changed_files id: changed_files
with: with:
files: NewHorizons/Schemas/** files: NewHorizons/Schemas/**

View File

@ -29,10 +29,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Download Schemas - name: Download Schemas
if: ${{ inputs.schemas_artifact != 'null' }} if: ${{ inputs.schemas_artifact != 'null' }}
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: ${{ inputs.schemas_artifact }} name: ${{ inputs.schemas_artifact }}
path: NewHorizons/Schemas path: NewHorizons/Schemas
@ -55,4 +55,4 @@ jobs:
steps: steps:
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v1 uses: actions/deploy-pages@v4

View File

@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: "actions/checkout@v3" uses: "actions/checkout@v4"
- name: Read Manifest - name: Read Manifest
id: read-manifest id: read-manifest
uses: notiz-dev/github-action-json-property@release uses: notiz-dev/github-action-json-property@release
@ -66,7 +66,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Download Asset - name: Download Asset
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: xen.NewHorizons.Release name: xen.NewHorizons.Release
path: xen.NewHorizons path: xen.NewHorizons

View File

@ -18,12 +18,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Repo - name: Checkout Repo
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
token: ${{ secrets.SCHEMAS_TOKEN }} token: ${{ secrets.SCHEMAS_TOKEN }}
- name: Download Artifact - name: Download Artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: ${{ inputs.artifact_name }} name: ${{ inputs.artifact_name }}
path: NewHorizons/Schemas/ path: NewHorizons/Schemas/