Skip to content

Commit

Permalink
Build package
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Dec 29, 2023
1 parent 741e1df commit 0b292b2
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,23 @@ jobs:
- name: RDoc coverage
run: rdoc -C
if: ${{ matrix.ruby == needs.ruby-versions.outputs.latest && matrix.os == 'ubuntu-latest' }}
- id: build
run: |
rake build:checksum
ls -l pkg/*.gem checksums/*
cat checksums/*
echo "pkg=${GITHUB_REPOSITORY#*/}-${PLATFORM:-${RUNNING_OS%-*}}" >> $GITHUB_OUTPUT
env:
RUNNING_OS: ${{matrix.os}}
if: >-
${{
github.event_name == 'push' &&
matrix.ruby == needs.ruby-versions.outputs.latest
}}
shell: bash
- name: Upload package
uses: actions/upload-artifact@v4
with:
path: pkg/*.gem
name: ${{steps.build.outputs.pkg}}
if: ${{ steps.build.outcome == 'success' }}

0 comments on commit 0b292b2

Please sign in to comment.