Skip to content

Commit

Permalink
fixing minor-version-upgrade-util V2
Browse files Browse the repository at this point in the history
  • Loading branch information
SiddharthBITS committed Jan 22, 2025
1 parent 368ac14 commit 1f9516d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/composite-actions/dump-restore-util/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ runs:
shell: bash

- name: Save cache
if: always()
if: always() && steps.run-pg_dump-restore.outcome == 'success'
uses: ./.github/composite-actions/save-cacche

- name: Run Verify Tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ runs:
extension_branch: ${{ inputs.extension_branch }}

- name: Save cache
if: always() && steps.build-extensions-newer.outcome == 'success'
if: always() && steps.build-extensions-newer == 'success'
uses: ./.github/composite-actions/save-ccache

# Not created and used composite action update-extensions here since, in the previous step it has
# checked out a branch/tag which may not have the updated update-extension composite action
- name: Update extensions
Expand Down
2 changes: 1 addition & 1 deletion .github/composite-actions/setup-base-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ runs:
- uses: actions/checkout@v2

- name: Save cache
if: always()
if: always()&& steps.jdbc-upgrade-tests.outcome == 'success'
uses: ./.github/composite-actions/save-ccache

- name: Install Python
Expand Down
2 changes: 1 addition & 1 deletion .github/composite-actions/setup-new-version/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ runs:
install_dir: ${{ inputs.pg_new_dir }}

- name: Save cache
if: always()
if: always() && steps.build-postgis-extension.outcome == 'success'
uses: ./.github/composite-actions/save-ccache

- name: Setup new data directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
uses: ./.github/composite-actions/install-extensions

- name: Save cache
if: always()
if: always()&& steps.install-extensions.outcome == 'success'
uses: ./.github/composite-actions/save-ccache

- name: Run Dotnet Tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jdbc-tests-single-db-mode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
~/psql/data_5433/logfile
- name: Save cache
if: always()
if: always() && steps.replication.outcome == 'success'
uses: ./.github/composite-actions/save-ccache

# The test summary files contain paths with ':' characters, which is not allowed with the upload-artifact actions
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/major-version-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
- uses: actions/checkout@v2

- name: Save cache
if: always()
if: always()&& steps.install-extensions-old.outcome == 'success'
uses: ./.github/composite-actions/save-ccache

- name: Build Modified Postgres using latest version
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
install_dir: ${{env.NEW_INSTALL_DIR}}

- name: Save cache
if: always()
if: always()&& steps.build-postgis-extension.outcome == 'success'
uses: ./.github/composite-actions/save-ccache

- name: Setup new data directory
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/minor-version-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
- uses: actions/checkout@v2

- name: Save cache
if: always()
if: always() && steps.install-extensions-older.outcome == 'success'
uses: ./.github/composite-actions/save-ccache

- name: Build and run tests for Postgres engine using latest engine
Expand Down

0 comments on commit 1f9516d

Please sign in to comment.