diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0d5afef..4f81fe6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: chmod 0600 $HOME/.gem/credentials printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials gem build petrovich.gemspec - gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} petrovich.gem + gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} petrovich-*.gem env: GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}" OWNER: ${{ github.repository_owner }} @@ -37,6 +37,6 @@ jobs: chmod 0600 $HOME/.gem/credentials printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials gem build petrovich.gemspec - gem push petrovich.gem + gem push petrovich-*.gem env: GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"