Skip to content

Commit

Permalink
add git tag ref option for DEB packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
cevian committed Jun 6, 2024
1 parent ea5f86c commit dc0e79d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deb-packager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ on:
description: 'PG minor version. Default: 1'
required: false
default: '1'
TAG_GIT_REF:
description: 'Tag git Ref (leave empty for same as Tag)'
required: false
default: ''

jobs:
packager:
Expand All @@ -27,6 +31,7 @@ jobs:
PG_CONFIG_PATH: postgresql/bin/pg_config
TAG: ${{ github.event.inputs.tag }}
TAG_DIR: pgvectorscale
TAG_GIT_REF: ${{ github.event.inputs.TAG_GIT_REF == '' && github.event.inputs.tag || github.event.inputs.TAG_GIT_REF}}

steps:
- name: Checkout pgvectorscale
Expand All @@ -50,7 +55,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: timescale/pgvectorscale
ref: '${{ env.TAG }}'
ref: '${{ env.TAG_GIT_REF }}'
path: ${{ env.TAG_DIR }}

- name: Install pgrx
Expand Down

0 comments on commit dc0e79d

Please sign in to comment.