Skip to content

Commit

Permalink
Comment out for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
michalchecinski committed Feb 23, 2024
1 parent d920daf commit 5c2d4be
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/publish-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,28 @@ permissions:
contents: read
id-token: write

jobs:
setup:
name: Setup
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Branch check
if: ${{ github.event.inputs.release_type != 'Dry Run' }}
run: |
if [[ "$GITHUB_REF" != "refs/heads/rc" ]] && [[ "$GITHUB_REF" != "refs/heads/hotfix-rc" ]]; then
echo "==================================="
echo "[!] Can only release from the 'rc' or 'hotfix-rc' branches"
echo "==================================="
exit 1
fi
# jobs:
# setup:
# name: Setup
# runs-on: ubuntu-22.04
# steps:
# - name: Checkout repo
# uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

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

publish_ruby:
name: Publish Ruby
runs-on: ubuntu-22.04
needs: setup
# needs: setup
steps:
- name: Checkout Repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down

0 comments on commit 5c2d4be

Please sign in to comment.