Skip to content

Commit

Permalink
Comment out branch check for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrassia committed Oct 14, 2024
1 parent d050f96 commit dbb4417
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/publish-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ jobs:
- name: Checkout repo
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0

- name: Branch check
if: ${{ inputs.release_type != 'Dry Run' }}
run: |
if [[ "$GITHUB_REF" != "refs/heads/main" ]]; then
echo "==================================="
echo "[!] Can only release from the 'main' branch"
echo "==================================="
exit 1
fi
# - name: Branch check
# if: ${{ inputs.release_type != 'Dry Run' }}
# run: |
# if [[ "$GITHUB_REF" != "refs/heads/main" ]]; then
# echo "==================================="
# echo "[!] Can only release from the 'main' branch"
# echo "==================================="
# exit 1
# fi

- name: Version output
id: version-output
Expand Down

0 comments on commit dbb4417

Please sign in to comment.