Skip to content

Commit

Permalink
deploy-2-start.yml: Ported upload logic from generate-build-metadata.…
Browse files Browse the repository at this point in the history
…bash to inline script
  • Loading branch information
CodeGat committed May 13, 2024
1 parent 187d8ac commit 168eae2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/deploy-2-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,12 @@ jobs:
- name: Upload Build Metadata
env:
BUILD_DB_CONNECTION_STR: ${{ secrets.BUILD_DB_CONNECTION_STR }}
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 }}
OUTPUT_PATH: ./metadata_output
run: |
./scripts/generate-build-metadata.bash ${{ needs.release.outputs.url }} ${{ needs.release.outputs.created-at }} ${{ env.METADATA_PATH }} ${{ env.OUTPUT_PATH }} ${{ inputs.root-sbd }} ${{ vars.BUILD_DB_PACKAGES }}
for json in ${{ env.OUTPUT_PATH }}/*.json; do
echo "Attempting upload of $json"
python ./tools/release_provenance/save_release.py "$json"
done

0 comments on commit 168eae2

Please sign in to comment.