diff --git a/.github/workflows/deb-packager.yaml b/.github/workflows/deb-packager.yaml index d70e326..ce9a9e8 100644 --- a/.github/workflows/deb-packager.yaml +++ b/.github/workflows/deb-packager.yaml @@ -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: @@ -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 @@ -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