on: pull_request: push: branches: - master name: Retrovert jobs: review: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: 2.6 - run: bundle install # spec - name: spec run: bundle exec rake spec # convert - name: convert run: bundle exec review-retrovert convert testdata/mybook/config.yml tmp -f # build - name: review build uses: docker://srzzumix/review-retrovert with: entrypoint: bash args: -c "cd tmp; rake preproc all" # artifacts - name: artifacts uses: actions/upload-artifact@v1 with: name: mybook path: tmp/mybook.pdf - name: artifacts uses: actions/upload-artifact@v1 with: name: mybook path: tmp/mybook.epub