Skip to content

Commit

Permalink
ci: add unique names to artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen1 committed Jan 29, 2025
1 parent 8ca9ae0 commit 20131fe
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 20131fe

Please sign in to comment.