Skip to content

Commit

Permalink
Propagate build ID task error
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Jan 15, 2024
1 parent 139d1d8 commit 1c124db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
id: release-build-id-generator
run: |
set -euo pipefail
export BUILD_ID=$(python -m build.generate_build_id)
echo "BUILD_ID: ${BUILD_ID}"
echo "BUILD_ID=${BUILD_ID}" >> $GITHUB_OUTPUT
- name: Generate Build ID (nightly)
if: "!startsWith(github.ref, 'refs/tags/')"
id: nightly-build-id-generator
run: |
set -euo pipefail
export BUILD_ID=$(python -m build.generate_build_id --pre-release)
echo "BUILD_ID: ${BUILD_ID}"
echo "BUILD_ID=${BUILD_ID}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 1c124db

Please sign in to comment.