Skip to content

Commit

Permalink
Add workflow version to force PostgreSQL rebuild (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
apgrucza authored May 14, 2024
1 parent d17def7 commit ab2fe11
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ env:
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: Release

# Workflow versions. Increment these when you make changes to a build step in the workflow and
# you want the step to run, but the corresponding cache is causing the step to be skipped.
WORKFLOW_VERSION_POSTGRESQL: '1' # for build steps related to the 'cachePostgres' cache

# Software versions.
POSTGRESQL_SOURCE_TAG: 'REL_16_3'
POSTGRESQL_PACKAGE_FILEID: '1259019'
Expand All @@ -41,7 +45,7 @@ jobs:
path: |
d:\postgresql
d:\postgresql86
key: postgresql-${{env.POSTGRESQL_SOURCE_TAG}}_openssl-${{env.OPENSSL_VERSION}}_pkgconfiglite-${{env.PKGCONFIGLITE_VERSION}}_winflexbison-${{env.WINFLEXBISON_VERSION}}
key: postgresql-${{env.POSTGRESQL_SOURCE_TAG}}_openssl-${{env.OPENSSL_VERSION}}_pkgconfiglite-${{env.PKGCONFIGLITE_VERSION}}_winflexbison-${{env.WINFLEXBISON_VERSION}}_workflow-${{env.WORKFLOW_VERSION}}

- name: Cache Postgres source
if: ${{steps.cachePostgres.outputs.cache-hit != 'true'}}
Expand Down

0 comments on commit ab2fe11

Please sign in to comment.