From 75b8367089670fd7c4d552c1384f957b2df3cedf Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 12 Sep 2023 11:18:53 -0600 Subject: [PATCH] Update action.yml --- action.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/action.yml b/action.yml index 28a212d..7ff94ba 100644 --- a/action.yml +++ b/action.yml @@ -9,28 +9,6 @@ inputs: runs: using: 'composite' steps: - - name: Get cache directory - id: cache-dir - run: | - cache_dir="" - if [[ "${{ runner.os }}" == "macOS" ]]; then - cache_dir="$(brew --cache postgresql@${{ inputs.postgresql_version }})" - elif [[ "${{ runner.os }}" == "Windows" ]]; then - cache_dir="~\AppData\Local\Temp\chocolatey" - fi - echo "cache_dir=$cache_dir" >> "$GITHUB_OUTPUT" - shell: bash - - - name: Cache - uses: actions/cache@v3 - id: cache-postgresql - if: steps.cache-dir.outputs.cache_dir != '' - with: - path: ${{ steps.cache-dir.outputs.cache_dir }} - key: ${{ runner.os }}-postgresql-${{ inputs.postgresql_version }} - restore-keys: | - ${{ runner.os }}-postgresql- - - run: | bash $GITHUB_ACTION_PATH/entrypoint.sh shell: bash