From 20131fe270f46bb454eb272e78a481be11098c8e Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Wed, 29 Jan 2025 19:42:07 +0700 Subject: [PATCH] ci: add unique names to artifacts --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f02b330..e0292f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,11 +8,9 @@ on: branches: [main] workflow_dispatch: inputs: - release: - description: "Release" + release_tag: + description: "Release tag" required: true - type: boolean - default: false env: CARGO_TERM_COLOR: always @@ -247,7 +245,7 @@ jobs: name: Release needs: [test, lint, build] runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/v') || ${{ inputs.release }} + if: startsWith(github.ref, 'refs/tags/v') || inputs.release_tag steps: - uses: actions/checkout@v4 @@ -299,6 +297,7 @@ jobs: with: files: dist/flat/yek-* body_path: CHANGES.md + tag_name: ${{ inputs.release_tag || github.ref_name }} publish: name: Publish