Skip to content

Commit

Permalink
attempt 304
Browse files Browse the repository at this point in the history
  • Loading branch information
ianopolous committed Jan 20, 2025
1 parent 2f7d9a9 commit 47d45ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packager/PackagePeergos.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public static void main(String[] a) throws Exception {
System.out.println("artifact: " + artifact);
if (OS.equals("windows")) {
//Files.write(Paths.get("$env:GITHUB_ENV"), ("artifact=" + artifact).getBytes(), StandardOpenOption.APPEND);
runCommand("echo", "artifact="+artifact, "|", "Out-File", "-FilePath", "$env:GITHUB_ENV", "-Append");
//runCommand("echo", "artifact="+artifact, "|", "Out-File", "-FilePath", "$env:GITHUB_ENV", "-Append");
runCommand(".\\setenv.bat", artifact);
//runCommand("echo", "\"artifact="+artifact+"\"", ">>", "$env:GITHUB_ENV");
} else
runCommand("./setenv.sh", "artifact="+artifact);
Expand Down
2 changes: 1 addition & 1 deletion packager/setenv.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
echo artifact=%1 >> $env:GITHUB_ENV
echo artifact=%1 | Out-File -FilePath $env:GITHUB_ENV -Append

0 comments on commit 47d45ad

Please sign in to comment.