Explorar o código

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

TheWildJames hai 1 semana
pai
achega
ebccb42204
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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: