.github/workflows/pipeline.yml in ws-style-6.9.0 vs .github/workflows/pipeline.yml in ws-style-6.9.1

- old
+ new

@@ -10,20 +10,21 @@ - uses: actions/checkout@v2 with: ref: ${{ github.event.pull_request.head.sha }} - uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7.2 bundler-cache: true + - name: Fetch main branch + run: git fetch origin main - uses: r7kamura/rubocop-problem-matchers-action@v1 - uses: wealthsimple/toolbox-script@main name: RuboCop with: script: toolbox.ruby.lint.run() - name: Run rspec run: bundle exec rspec - name: Release the gem - if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' }} + if: ${{ github.ref == 'refs/heads/main' }} run: | mkdir -p ~/.gem cat << EOF > ~/.gem/credentials --- :github: Bearer ${GITHUB_TOKEN}