From 20cae8531c675fa7969e832c65703b1f087c834b Mon Sep 17 00:00:00 2001 From: "Garen J. Torikian" Date: Thu, 9 Mar 2023 17:10:44 -0500 Subject: [PATCH] i think this changed --- .github/workflows/tag_and_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tag_and_release.yml b/.github/workflows/tag_and_release.yml index 5ecce44d..fe8ae297 100644 --- a/.github/workflows/tag_and_release.yml +++ b/.github/workflows/tag_and_release.yml @@ -44,15 +44,15 @@ jobs: ruby-versions: "3.1,3.2" # SUPPORTED_RUBY_VERSIONS - name: Publish to RubyGems - working-directory: ${{ steps.cross-gem.outputs.gem-path }}/ env: GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_API_BOT_KEY}} + GEM_OUTPUT_PATH: ${{ steps.cross-gem.outputs.gem-path }} run: | mkdir -p $HOME/.gem touch $HOME/.gem/credentials chmod 0600 $HOME/.gem/credentials printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials - for i in *.gem; do + for i in "${GEM_OUTPUT_PATH}/*.gem"; do if [ -f "$i" ] then gem push "$i" || true