Skip to content

Commit

Permalink
Revert "chore: temporary commit to test the pipeline"
Browse files Browse the repository at this point in the history
This reverts commit 6bf0d27.
  • Loading branch information
aorumbayev committed Jan 8, 2025
1 parent d1b4234 commit b28d178
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/build-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,16 @@ jobs:
- name: Set signing condition
id: signing
run: |
# For testing, force signing to be allowed
echo "allowed=true" >> $GITHUB_OUTPUT
# Comment out or remove the original condition temporarily
# if [[ "${{ github.event_name }}" != "pull_request" && \
# "${{ github.ref_name }}" == "main" && \
# ("${{ inputs.production_release }}" == "true" || "${{ github.event_name }}" == "schedule") ]]; then
# echo "allowed=true" >> $GITHUB_OUTPUT
# else
# echo "allowed=false" >> $GITHUB_OUTPUT
# fi
# Allow signing on:
# 1. Main branch non-PR events when production_release is true OR
# 2. Main branch CRON triggered events
if [[ "${{ github.event_name }}" != "pull_request" && \
"${{ github.ref_name }}" == "main" && \
("${{ inputs.production_release }}" == "true" || "${{ github.event_name }}" == "schedule") ]]; then
echo "allowed=true" >> $GITHUB_OUTPUT
else
echo "allowed=false" >> $GITHUB_OUTPUT
fi
shell: bash

- name: Checkout source code
Expand Down

0 comments on commit b28d178

Please sign in to comment.