diff --git a/tar/compress/action.yaml b/tar/action.yaml similarity index 58% rename from tar/compress/action.yaml rename to tar/action.yaml index d95fee2..10fd741 100644 --- a/tar/compress/action.yaml +++ b/tar/action.yaml @@ -1,18 +1,19 @@ -name: Compress Files -desciption: Compress files into a gziped archive - -inputs: - pattern: - required: true - type: string - out: - requried: false - type: string - default: archive.tar.gz - -runs: - using: composite - container: alpine - steps: - - run: | - tar -czf "${{ inputs.out }}" ${{ inputs.pattern }} +name: Tar +desciption: Compress files into a gziped archive + +inputs: + pattern: + required: true + type: string + out: + requried: false + type: string + default: archive.tar.gz + +runs: + using: composite + steps: + - uses: docker://alpine + with: + entrypoint: tar + args: -czf "${{inputs.out}}" ${{inputs.pattern}}