Skip to content

Commit 0da2b32

Browse files
committed
deploy-2-start.yml: Split requirements.txt install into own step
1 parent fe85f29 commit 0da2b32

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/deploy-2-start.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ jobs:
162162
run: echo "created-at=$(gh release view --json createdAt --jq '.createdAt')" >> $GITHUB_OUTPUT
163163

164164
build-db:
165-
name: Build DB
165+
name: Build DB Metadata Upload
166166
if: inputs.type == 'release'
167167
needs:
168168
- release
@@ -185,9 +185,10 @@ jobs:
185185
python-version: "3.10"
186186
cache: pip
187187

188+
- name: Install Build Metadata Script Requirements
189+
run: pip install -r tools/release_provenance/requirements.txt
190+
188191
- name: Upload Build Metadata
189192
env:
190193
BUILD_DB_CONNECTION_STR: ${{ secrets.BUILD_DB_CONNECTION_STR }}
191-
run: |
192-
pip install -r tools/release_provenance/requirements.txt
193-
./scripts/upload-build-metadata.bash ${{ needs.release.outputs.url }} ${{ needs.release.outputs.created-at }} ${{ env.METADATA_PATH }} ${{ inputs.root-sbd }} ${{ vars.BUILD_DB_PACKAGES }}
194+
run: ./scripts/upload-build-metadata.bash ${{ needs.release.outputs.url }} ${{ needs.release.outputs.created-at }} ${{ env.METADATA_PATH }} ${{ inputs.root-sbd }} ${{ vars.BUILD_DB_PACKAGES }}

0 commit comments

Comments
 (0)