Skip to content

Commit

Permalink
fix: skip confirmation
Browse files Browse the repository at this point in the history
  • Loading branch information
rvcas committed Feb 21, 2025
1 parent 216c5c3 commit fb0e2b6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
workflow_dispatch:
inputs:
bump:
description: 'Version bump type (major, minor, patch)'
description: "Version bump type (major, minor, patch)"
required: true
default: 'patch'
default: "patch"
type: choice
options:
- major
Expand All @@ -16,26 +16,26 @@ on:
jobs:
publish:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Rust
uses: Swatinem/rust-cache@v2

- name: Install cargo-release
run: cargo install cargo-release

- name: Configure Git
run: |
git config --global user.name "GitHub Action"
git config --global user.email "action@github.com"
- name: Run cargo release
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_TOKEN }}
run: |
cargo release ${{ github.event.inputs.bump }} --execute
cargo release ${{ github.event.inputs.bump }} --execute --no-confirm

0 comments on commit fb0e2b6

Please sign in to comment.