Fix the names of the major/minor release jobs to be reflective #30
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
name: Publish | |
on: | |
pull_request: | |
types: | |
- closed | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
if: startsWith(github.event.pull_request.head.ref, 'release-v') | |
steps: | |
- name: cargo login | |
run: cargo login ${{ secrets.ORCA_API_TOKEN }} | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Publish Update | |
run: cargo publish |