fix
This commit is contained in:
@@ -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 }}
|
||||
- ${{ inputs.command }}
|
||||
@@ -1,11 +1,10 @@
|
||||
name: rockylinux4
|
||||
name: rockylinux
|
||||
description: "Run rockylinux commands."
|
||||
inputs:
|
||||
workingDir:
|
||||
description: "Working directory to execute the commands in."
|
||||
command:
|
||||
description: "Shell command to pass into Rocky Linux."
|
||||
required: true
|
||||
default: "."
|
||||
arguments:
|
||||
workingDir:
|
||||
description: "Working directory to execute the commands in."
|
||||
required: true
|
||||
default: "."
|
||||
@@ -17,4 +16,4 @@ runs:
|
||||
image: Dockerfile
|
||||
args:
|
||||
- "${{ inputs.workingDir }}"
|
||||
- "${{ inputs.arguments }}"
|
||||
- "${{ inputs.args }}"
|
||||
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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."
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user