Dax Raad il y a 8 mois
Parent
commit
a1ce35c208
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      .github/workflows/publish.yml

+ 1 - 1
.github/workflows/publish.yml

@@ -43,7 +43,7 @@ jobs:
       - name: Publish
         run: |
           bun install
-          if [[ "${{ github.ref }}" == refs/tags/* ]]; then
+          if [ "${{ startsWith(github.ref, 'refs/tags/') }}" = "true" ]; then
             ./script/publish.ts
           else
             ./script/publish.ts --snapshot