From 4a926cfeb8c6f4395afe16eafb53c63bb352be0b Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Sat, 27 Jan 2024 16:44:34 -0500 Subject: [PATCH] make the setup script executable --- .github/actions/setup-postgres-linux/action.yml | 5 +++-- .../setup_db.sh => scripts/setup_postgres_linux.sh} | 0 2 files changed, 3 insertions(+), 2 deletions(-) rename .github/{actions/setup-postgres-linux/setup_db.sh => scripts/setup_postgres_linux.sh} (100%) diff --git a/.github/actions/setup-postgres-linux/action.yml b/.github/actions/setup-postgres-linux/action.yml index 8c79a8a1..651e081f 100644 --- a/.github/actions/setup-postgres-linux/action.yml +++ b/.github/actions/setup-postgres-linux/action.yml @@ -13,6 +13,7 @@ runs: - name: Configure the database run: | - chmod +x ${{ github.action_path }}/setup_db.sh - sudo -u postgres bash ${{ github.action_path }}/setup_db.sh + chmod +x setup_postgres_linux.sh + sudo -u postgres bash setup_postgres_linux.sh shell: bash + working-directory: ./.github/scripts diff --git a/.github/actions/setup-postgres-linux/setup_db.sh b/.github/scripts/setup_postgres_linux.sh similarity index 100% rename from .github/actions/setup-postgres-linux/setup_db.sh rename to .github/scripts/setup_postgres_linux.sh