Skip to content

Commit 5580ebd

Browse files
edits
1 parent bd34bc5 commit 5580ebd

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/pg-extension-build.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ on:
1010
pg_version:
1111
description: "PostgreSQL version to build (16, 17, 18, or all)"
1212
required: false
13-
default: all
13+
default: "18"
1414
type: choice
1515
options:
16-
- all
1716
- "16"
1817
- "17"
1918
- "18"
19+
- all
2020
pull_request:
2121
types:
2222
- labeled
@@ -46,10 +46,12 @@ jobs:
4646
versions: "${{ steps.set-versions.outputs.versions }}"
4747
versions-list: "${{ steps.set-versions.outputs.versions-list }}"
4848
steps:
49-
- name: Set versions to build
49+
- name: checkout
50+
uses: actions/checkout@v4.2.2
51+
52+
- name: set versions to build
5053
id: set-versions
5154
run: |-
52-
PG_VERSION="${{ inputs.pg_version || '18' }}"
5355
if [ "${PG_VERSION}" == "all" ]; then
5456
echo "versions=[\"16\",\"17\",\"18\"]" >> "${GITHUB_OUTPUT}"
5557
echo "versions-list=16,17,18" >> "${GITHUB_OUTPUT}"
@@ -58,7 +60,7 @@ jobs:
5860
echo "versions-list=${PG_VERSION}" >> "${GITHUB_OUTPUT}"
5961
fi
6062
61-
- name: Get Deep Lake version
63+
- name: get deeplake version
6264
id: get-deeplake-version
6365
run: |-
6466
DEEPLAKE_VERSION=$(grep -E '^__version__ *= *"' python/deeplake/__init__.py | cut -d'"' -f2)
@@ -173,7 +175,6 @@ jobs:
173175
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
174176
needs: [setup, extension-build]
175177
env:
176-
OP_SERVICE_ACCOUNT_TOKEN: "${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}"
177178
REPOSITORY: /tmp/activeloop-packages
178179
SUPPORTED_VERSIONS: "${{ needs.setup.outputs.versions-list }}"
179180
VERSION: "${{ needs.setup.outputs.deeplake-version }}"
@@ -188,6 +189,7 @@ jobs:
188189
with:
189190
export-env: true
190191
env:
192+
OP_SERVICE_ACCOUNT_TOKEN: "${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}"
191193
R2_ACCESS_KEY_ID: "op://GitHub Actions/registry-creds/cloudflare/CF_R2_ACCESS_KEY"
192194
R2_SECRET_ACCESS_KEY: "op://GitHub Actions/registry-creds/cloudflare/CF_R2_SECRET_KEY"
193195
R2_BUCKET_NAME: "op://GitHub Actions/common/REPOSITORY_BUCKET"

0 commit comments

Comments
 (0)