Skip to content

publish on release publish #18

publish on release publish

publish on release publish #18

Workflow file for this run

name: Main
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1.152.0
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run specs
run: bin/rspec
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
tag:
needs: test
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: salsify/action-detect-and-tag-new-version@v2