Skip to content

Commit

Permalink
Test without rubygems
Browse files Browse the repository at this point in the history
  • Loading branch information
mscwilson committed Sep 13, 2021
1 parent 1e61a5f commit d8a5b59
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/deploy.yml
Expand Up @@ -45,19 +45,9 @@ jobs:
with:
ruby-version: 2.6

- name: Publish to RubyGems
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
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"

- name: Release on GitHub
uses: softprops/action-gh-release@v0.1.12
with:
name: Version ${{ needs.prepare-to-publish.outputs.gem-version }}
prerelease: ${{ contains(needs.prepare-to-publish.outputs.gem-version, '-') }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d8a5b59

Please sign in to comment.