Skip to content

fix: error with base branch (github action) #9

fix: error with base branch (github action)

fix: error with base branch (github action) #9

Workflow file for this run

name: Publish (Dry Run)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_call:
jobs:
publish:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --release
- run: cargo publish --token ${CRATES_TOKEN} --dry-run --allow-dirty
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}