Skip to content

Commit

Permalink
Fail the OCI workflow if the ra version is not injected properly
Browse files Browse the repository at this point in the history
  • Loading branch information
HoloRin committed Apr 24, 2024
1 parent 41beec4 commit 8b386ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/rabbitmq-oci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
working-directory: deps/ra
run: |
sed -i"_orig" "/vsn,/ s/2\\.[0-9]\\.[0-9]/${{ github.event.pull_request.head.sha || github.sha }}/" src/ra.app.src
if git diff --exit-code; then
exit 1
fi
- name: Configure Erlang
uses: erlef/setup-beam@v1
with:
Expand Down

0 comments on commit 8b386ab

Please sign in to comment.