Skip to content

Commit

Permalink
👷 Tweak release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanhiltunen committed Jul 20, 2024
1 parent 6acc1a9 commit 1442cd1
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,24 @@ jobs:

- uses: oxidize-rb/actions/cross-gem@main
with:
version: latest
platform: ${{ matrix.platform }}
ruby-versions: "${{ env.SUPPORTED_RUBY_VERSIONS }}"

- name: Display structure of built gems
run: ls -R
working-directory: pkg/

- name: Smoke gem install
if: matrix.platform == 'x86_64-linux' # GitHub actions architecture
run: |
gem install pkg/reprise-*.gem --verbose
echo "✅ Gem installed successfully"
- uses: actions/upload-artifact@v2
with:
name: cross-gem
path: ${{ steps.cross-gem.outputs.gem-path }}

release:
name: Release
needs: build
Expand All @@ -64,9 +72,7 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: cross-gem

- name: Package source gem
run: bundle exec rake build
path: pkg

- name: Push Gem
working-directory: pkg/
Expand Down

0 comments on commit 1442cd1

Please sign in to comment.