Răsfoiți Sursa

misc: prefix ValidationTask with I, it's an interface
Mention in PR comment script that you now need to be logged into GitHub to download artifacts.

Evan Husted 1 an în urmă
părinte
comite
318498eab0

+ 1 - 1
.github/workflows/nightly_pr_comment.yml

@@ -37,7 +37,7 @@ jobs:
             if (!artifacts.length) {
               return core.error(`No artifacts found`);
             }
-            let body = `Download the artifacts for this pull request:\n`;
+            let body = `*You need to be logged into GitHub to download these files.*\n\nDownload the artifacts for this pull request:\n`;
             let hidden_debug_artifacts = `\n\n <details><summary>Only for Developers</summary>\n`;
             for (const art of artifacts) {
               const url = `https://github.com/Ryubing/Ryujinx/actions/runs/${run_id}/artifacts/${art.id}`;

+ 1 - 1
src/Ryujinx.BuildValidationTasks/ValidationTask.cs → src/Ryujinx.BuildValidationTasks/IValidationTask.cs

@@ -1,6 +1,6 @@
 namespace Ryujinx.BuildValidationTasks
 {
-    public interface ValidationTask
+    public interface IValidationTask
     {
         public bool Execute(string projectPath, bool isGitRunner);
     }

+ 1 - 1
src/Ryujinx.BuildValidationTasks/LocalesValidationTask.cs

@@ -7,7 +7,7 @@ using System.Text.Encodings.Web;
 
 namespace Ryujinx.BuildValidationTasks
 {
-    public class LocalesValidationTask : ValidationTask
+    public class LocalesValidationTask : IValidationTask
     {
         public LocalesValidationTask() { }