Dax Raad 8 tháng trước cách đây
mục cha
commit
a1ce35c208
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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