Rename copy.java to get_jreleaser.java

This commit is contained in:
Andres Almiray 2021-04-06 16:47:34 +02:00
parent 61c4987b53
commit f994696671
2 changed files with 8 additions and 8 deletions

View file

@ -31,7 +31,7 @@ runs:
working-directory: ${{ inputs.working-directory }}
run: |
echo "::group::📦 Download JReleaser"
java "${{ github.action_path }}/copy.java" ${{ inputs.version }}
java "${{ github.action_path }}/get_jreleaser.java" ${{ inputs.version }}
java -jar jreleaser-cli.jar --version
echo "::endgroup::"

View file

@ -5,10 +5,10 @@ import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardCopyOption;
class copy {
class get_jreleaser {
public static void main(String... args) throws Exception {
if (args.length != 1) {
System.err.println("Usage: java copy.java VERSION");
System.err.println("Usage: java get_jreleaser.java VERSION");
System.exit(1);
}