tar fails on non-existent directory #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Test with default target | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install | |
uses: uniget-org/uniget-action@v1 | |
- name: Test uniget | |
run: | | |
which uniget | |
uniget --version | |
- name: Install | |
uses: uniget-org/uniget-action@v1 | |
with: | |
prefix: helper | |
tools: gojq yq | |
- name: Check installed tools | |
run: | | |
uniget --prefix=helper --target=usr/local install --installed --plan | |
- name: Test tools | |
run: | | |
helper/usr/local/bin/gojq --version | |
helper/usr/local/bin/jq --version | |
helper/usr/local/bin/yq --version | |
test2: | |
name: Test with custom target | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install | |
uses: uniget-org/uniget-action@v1 | |
- name: Test uniget | |
run: | | |
which uniget | |
uniget --version | |
- name: Install | |
uses: uniget-org/uniget-action@v1 | |
with: | |
prefix: helper | |
target: "" | |
tools: gojq yq | |
- name: Check installed tools | |
run: | | |
uniget --prefix=helper install --installed --plan | |
- name: Test tools | |
run: | | |
helper/bin/gojq --version | |
helper/bin/jq --version | |
helper/bin/yq --version |