From b333b06772c89d96aacb5490d6a219fba7c09cc6 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 12 Feb 2026 20:57:17 +0100 Subject: Engage! --- llama.cpp/.github/actions/unarchive-tar/action.yml | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 llama.cpp/.github/actions/unarchive-tar/action.yml (limited to 'llama.cpp/.github/actions/unarchive-tar') diff --git a/llama.cpp/.github/actions/unarchive-tar/action.yml b/llama.cpp/.github/actions/unarchive-tar/action.yml new file mode 100644 index 0000000..b97e402 --- /dev/null +++ b/llama.cpp/.github/actions/unarchive-tar/action.yml @@ -0,0 +1,27 @@ +name: "Unarchive tar" +description: "Download and unarchive tar into directory" +inputs: + url: + description: "URL of the tar archive" + required: true + path: + description: "Directory to unarchive into" + required: true + type: + description: "Compression type (tar option)" + required: false + default: "J" + strip: + description: "Strip components" + required: false + default: "0" + +runs: + using: "composite" + steps: + - name: Unarchive into directory + shell: bash + run: | + mkdir -p ${{ inputs.path }} + cd ${{ inputs.path }} + curl --no-progress-meter ${{ inputs.url }} | tar -${{ inputs.type }}x --strip-components=${{ inputs.strip }} -- cgit v1.2.3