Update Actions And Stuff

This commit is contained in:
Ben C 2022-11-15 13:41:24 -05:00
parent 5f71b64943
commit 2dfd065395
No known key found for this signature in database
GPG Key ID: 7F8F04504B670474
3 changed files with 7 additions and 5 deletions

View File

@ -66,7 +66,7 @@ jobs:
path: .\NewHorizons\Schemas
- name: Verify Changed Schemas
uses: tj-actions/verify-changed-files@v12
uses: tj-actions/verify-changed-files@v34
id: changed_files
with:
files: NewHorizons/Schemas/**

View File

@ -19,6 +19,8 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
token: ${{ secrets.SCHEMAS_TOKEN }}
- name: Download Artifact
uses: actions/download-artifact@v3
@ -28,13 +30,13 @@ jobs:
- name: Commit Schemas
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git config --local user.email "bwc9876@gmail.com"
git config --local user.name "Ben C"
git add NewHorizons/Schemas/**
git commit -m "Updated Schemas"
- name: Push Schemas
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.github_token }}
github_token: ${{ secrets.SCHEMAS_TOKEN }}
branch: ${{ github.ref }}

View File

@ -11,7 +11,7 @@ using Logger = NewHorizons.Utility.Logger;
namespace NewHorizons.External.Configs
{
/// <summary>
/// Describes a body to generate
/// Describes a celestial body to generate
/// </summary>
[JsonObject(Title = "Celestial Body")]
public class PlanetConfig