Skip to content

Commit

Permalink
NH-66480: create gem but not create if exist
Browse files Browse the repository at this point in the history
  • Loading branch information
xuan-cao-swi committed Jan 24, 2024
1 parent d67a096 commit e280d70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_for_github_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ jobs:
- name: Build gem and publish to github package
id: gemstep
run: |
cd ~
[ -d '.gem' ] || mkdir .gem && echo "Directory created or already exists."
cd -
echo -e "---\n:github: Bearer $GITHUB_SECRET_TOKEN" >> ~/.gem/credentials
chmod 0600 ~/.gem/credentials
bundle exec rake build_gem_for_github_package[${{ steps.version.outputs.gem_version }}]
Expand Down

0 comments on commit e280d70

Please sign in to comment.