From fb0e2b61ff6e77cf1bab14d6207286db381b3290 Mon Sep 17 00:00:00 2001 From: rvcas Date: Fri, 21 Feb 2025 13:16:41 -0500 Subject: [PATCH] fix: skip confirmation --- .github/workflows/tag.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 448caacb..8278fc2d 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -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 @@ -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