Revert to Markdown #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# alternative ruby implementation | |
name: serpapi-ruby-alternative | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# 'truffleruby' - git action is broken - april 2023 | |
# 'truffleruby+graalvm - git action is broken - april 2023 | |
ruby-version: [ 'jruby'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby ${{ matrix.ruby-version }} | |
uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: demo | |
env: | |
API_KEY: ${{ secrets.API_KEY }} | |
run: | | |
gem build serpapi.gemspec | |
gem install ./serpapi-*.gem | |
ruby oobt/demo.rb |