diff --git a/action.yml b/action.yml index 0dada4a..3541e6c 100644 --- a/action.yml +++ b/action.yml @@ -12,7 +12,6 @@ runs: - name: Get cache directory id: cache-dir run: | - set -x if [[ "${{ runner.os }}" == "Linux" ]]; then cache_dir="/var/cache/apt/archives/" elif [[ "${{ runner.os }}" == "macOS" ]]; then diff --git a/entrypoint.sh b/entrypoint.sh index d3dc836..bc424d6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -35,7 +35,7 @@ if [[ "$(uname -s)" == "Linux" ]]; then sudo apt-get update # Install PostgreSQL - sudo apt-get apt-get install -y "postgresql-$INPUT_POSTGRESQL_VERSION" + sudo apt-get install -y "postgresql-$INPUT_POSTGRESQL_VERSION" elif [[ "$(uname -s)" == "NT"* ]] || [[ "$(uname -s)" == "MINGW"* ]] || [[ "$(uname -s)" == *"MSYS"* ]]; then choco install "postgresql$INPUT_POSTGRESQL_VERSION" -y --no-progress elif [[ "$(uname -s)" == "Darwin" ]]; then