Skip to content

Commit

Permalink
workflow changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shyam-cb committed Jun 11, 2024
1 parent e1aabd0 commit b29a712
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
ruby-version: '3.2' # or your preferred Ruby version for deployment
bundler-cache: true
- run: bundle install
- run: gem build hello_world_gem.gemspec
- run: gem build test-gem-publish.gemspec
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -72,12 +72,12 @@ jobs:
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./hello_world_gem-*.gem
asset_name: hello_world_gem-*.gem
asset_path: ./test-gem-publish-*.gem
asset_name: test-gem-publish-*.gem
asset_content_type: application/octet-stream
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: gem push hello_world_gem-*.gem
- run: gem push test-gem-publish-*.gem
env:
BUNDLE_PATH: vendor/bundle
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}

0 comments on commit b29a712

Please sign in to comment.