Skip to content

Commit

Permalink
Configuring workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jcagarcia committed Nov 3, 2023
1 parent 13c7e38 commit 0d6d2ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 94 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ jobs:
shell: bash

- name: Check if Gem Version Exists in ruby gems
id: check-exists
run: |
gem fetch grape-idempotency -v ${{ steps.get-version.outputs.version }}
if [ $? -eq 0 ]; then
echo "Gem version already exists on RubyGems. Skipping the push to RubyGems."
exit 0
fi
shell: bash

- name: Publish to RubyGems
run: |
Expand Down
94 changes: 0 additions & 94 deletions Gemfile.lock

This file was deleted.

0 comments on commit 0d6d2ed

Please sign in to comment.