mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 10:45:29 +00:00
Fail script on any error.
This commit is contained in:
parent
c014946be0
commit
6c13cf414f
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Fail on any error.
|
||||
set -e
|
||||
|
||||
# Directory that holds the cached packages.
|
||||
cache_dir=$1
|
||||
# List of the packages to use.
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Fail on any error.
|
||||
set -e
|
||||
|
||||
# Directory that holds the cached packages.
|
||||
cache_dir=$1
|
||||
# Root directory to untar the cached packages to.
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Fail on any error.
|
||||
set -e
|
||||
|
||||
packages=$1
|
||||
|
||||
echo -n "* Validating action arguments... ";
|
||||
|
|
Loading…
Reference in a new issue