diff --git a/distros/busybox/action.yaml b/distros/busybox/action.yaml index a0f0161..d780c76 100644 --- a/distros/busybox/action.yaml +++ b/distros/busybox/action.yaml @@ -1,8 +1,8 @@ name: busybox description: "Run busybox commands." inputs: - args: - description: "Shell arguments to pass into busybox." + command: + description: "Shell command to pass into busybox." required: true outputs: console: @@ -11,4 +11,4 @@ runs: using: docker image: Dockerfile args: - - ${{ inputs.args }} \ No newline at end of file + - ${{ inputs.command }} \ No newline at end of file diff --git a/distros/rockylinux4/Dockerfile b/distros/rockylinux/Dockerfile similarity index 100% rename from distros/rockylinux4/Dockerfile rename to distros/rockylinux/Dockerfile diff --git a/distros/rockylinux4/action.yaml b/distros/rockylinux/action.yaml similarity index 66% rename from distros/rockylinux4/action.yaml rename to distros/rockylinux/action.yaml index 478f248..3ca29d9 100644 --- a/distros/rockylinux4/action.yaml +++ b/distros/rockylinux/action.yaml @@ -1,14 +1,13 @@ -name: rockylinux4 +name: rockylinux description: "Run rockylinux commands." inputs: + command: + description: "Shell command to pass into Rocky Linux." + required: true workingDir: description: "Working directory to execute the commands in." required: true default: "." - arguments: - description: "Working directory to execute the commands in." - required: true - default: "." outputs: console: description: "The console output of the command." @@ -17,4 +16,4 @@ runs: image: Dockerfile args: - "${{ inputs.workingDir }}" - - "${{ inputs.arguments }}" \ No newline at end of file + - "${{ inputs.args }}" \ No newline at end of file diff --git a/distros/rockylinux4/entrypoint.sh b/distros/rockylinux/entrypoint.sh similarity index 100% rename from distros/rockylinux4/entrypoint.sh rename to distros/rockylinux/entrypoint.sh diff --git a/distros/rockylinux4/setup_gpg.sh b/distros/rockylinux/setup_gpg.sh similarity index 100% rename from distros/rockylinux4/setup_gpg.sh rename to distros/rockylinux/setup_gpg.sh diff --git a/utils/chown/action.yaml b/utils/chown/action.yaml index 0f3e907..19fbd36 100644 --- a/utils/chown/action.yaml +++ b/utils/chown/action.yaml @@ -35,4 +35,4 @@ runs: - name: "Take ownership of output." uses: act/common/distros/busybox@master with: - args: chown ${{ steps.ids.outputs.uid }}:${{ steps.ids.outputs.gid }} "${{ inputs.file }}" -R + command: chown ${{ steps.ids.outputs.uid }}:${{ steps.ids.outputs.gid }} "${{ inputs.file }}" -R diff --git a/utils/compress/action.yaml b/utils/compress/action.yaml index fc9ca64..f26204a 100644 --- a/utils/compress/action.yaml +++ b/utils/compress/action.yaml @@ -64,4 +64,4 @@ runs: uses: act/common/distros/rockylinux@master with: workingDir: ${{ inputs.workingDir }} - args: ${{ steps.command.outputs.command }} + command: ${{ steps.command.outputs.command }} diff --git a/utils/download/action.yaml b/utils/download/action.yaml index 0b68d13..4275ef5 100644 --- a/utils/download/action.yaml +++ b/utils/download/action.yaml @@ -21,7 +21,7 @@ runs: id: download uses: act/common/distros/rockylinux@master with: - args: sh "_download.sh" "${{ inputs.url }}" "${{ inputs.outputFile }}" + command: sh "_download.sh" "${{ inputs.url }}" "${{ inputs.outputFile }}" - run: rm _download.sh shell: bash - name: "Own artifacts." diff --git a/utils/extract/action.yaml b/utils/extract/action.yaml index c8ec811..3572ffb 100644 --- a/utils/extract/action.yaml +++ b/utils/extract/action.yaml @@ -35,7 +35,7 @@ runs: id: convert uses: act/common/distros/busybox@master with: - args: ${{ steps.command.outputs.command }} + command: ${{ steps.command.outputs.command }} - name: "Delete source." run: | if [[ ${{ inputs.deleteSource }} != "true" ]]; then