Просмотр исходного кода

ci(release): only release on success, drop always()

TheWildJames 1 неделя назад
Родитель
Сommit
ebccb42204
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      .github/workflows/main.yml

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

@@ -954,7 +954,7 @@ jobs:
 
   release:
     runs-on: ubuntu-latest
-    if: always() && github.event_name == 'workflow_dispatch' && !inputs.test_release_notes && (inputs.release_type == 'Pre-Release' || inputs.release_type == 'Release')
+    if: github.event_name == 'workflow_dispatch' && !inputs.test_release_notes && (inputs.release_type == 'Pre-Release' || inputs.release_type == 'Release')
     permissions:
       contents: write
     needs: