CoolFace
Modelpublic

Felipe97/llama-cpp-compiled

sourceHugging Faceupdated 3d agoView on Hugging Face
0likes1.1kdownloads
action.yml28 linesDownload Raw Back to unarchive-tar
1name: "Unarchive tar"2description: "Download and unarchive tar into directory"3inputs:4  url:5    description: "URL of the tar archive"6    required: true7  path:8    description: "Directory to unarchive into"9    required: true10  type:11    description: "Compression type (tar option)"12    required: false13    default: "J"14  strip:15    description: "Strip components"16    required: false17    default: "0"18 19runs:20  using: "composite"21  steps:22    - name: Unarchive into directory23      shell: bash24      run: |25        mkdir -p ${{ inputs.path }}26        cd ${{ inputs.path }}27        curl --no-progress-meter -L ${{ inputs.url }} | tar -${{ inputs.type }}x --strip-components=${{ inputs.strip }}28