Skip to content

Commit

Permalink
will this work for rubygems access
Browse files Browse the repository at this point in the history
  • Loading branch information
jagthedrummer committed Aug 14, 2023
1 parent 914d16e commit 9316c23
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,20 @@ jobs:
- name: "Bump all"
run: ./bin/bump-all ${{ inputs.versionBump }}

- name: "Setup ruby gems credentials file"
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
- name: "Test rubygems api key"
run: gem signin
env:
# Make sure to update the secret name
# if yours isn't named RUBYGEMS_AUTH_TOKEN
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"

- name: "Release all"
run: ./bin/release-all

Expand Down

0 comments on commit 9316c23

Please sign in to comment.