mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-05-18 10:24:49 +02:00
ci(release.yml): Change release yml
This commit is contained in:
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -13,7 +13,7 @@ on:
|
||||
type: string
|
||||
tag:
|
||||
description: NPM tag
|
||||
default: 'latest'
|
||||
default: 'next' # set to latest after v1 release
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
@@ -150,7 +150,7 @@ jobs:
|
||||
path: lucide-font
|
||||
|
||||
post-release:
|
||||
if: github.repository == 'lucide-icons/lucide'
|
||||
if: github.repository == 'lucide-icons/lucide' && github.event_name != 'workflow_call'
|
||||
runs-on: ubuntu-latest
|
||||
needs: [prepare, lucide-font]
|
||||
permissions:
|
||||
@@ -168,6 +168,7 @@ jobs:
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: ${{ needs.prepare.outputs.VERSION }}
|
||||
|
||||
files: |
|
||||
lucide-font-${{ needs.prepare.outputs.VERSION }}.zip
|
||||
lucide-icons-${{ needs.prepare.outputs.VERSION }}.zip
|
||||
|
||||
Reference in New Issue
Block a user