Skip to content

Commit

Permalink
Install before running rake
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Dec 29, 2023
1 parent 0515fe9 commit 5a72d78
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,16 @@ jobs:
ruby-version: ${{ matrix.ruby }}
rubygems: ${{ matrix.ruby < '2.7' && '3.4.22' || '' }}
bundler-cache: true
- id: bundle
run: echo exec='bundle exec' >> $GITHUB_OUTPUT
if: ${{ matrix.ruby != 'mswin' }}
- name: Install dependencies
run: bundle install
- name: Run compile
run: rake compile
- name: Run test
run: ${{ steps.bundle.outputs.exec }} rake compile test
run: rake test
- id: build
run: |
git fetch --force --no-tags origin 'refs/tags/v*:refs/tags/v*'
${{ steps.bundle.outputs.exec }} rake build
rake build
echo "pkg=${GITHUB_REPOSITORY#*/}-${RUNNING_OS%-*}" >> $GITHUB_OUTPUT
env:
RUNNING_OS: ${{matrix.os}}
Expand Down

0 comments on commit 5a72d78

Please sign in to comment.