Browse Source

Revert "ci: make tests passing a requirement pre-release"

This reverts commit 8c00818108700b4aad81a9127d9e1e9adc8254bd.
Frank 3 weeks ago
parent
commit
2649dcae7f
2 changed files with 1 additions and 6 deletions
  1. 1 5
      .github/workflows/publish.yml
  2. 0 1
      .github/workflows/test.yml

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

@@ -29,13 +29,9 @@ permissions:
   packages: write
 
 jobs:
-  test:
-    if: github.event_name == 'workflow_dispatch'
-    uses: ./.github/workflows/test.yml
   publish:
-    needs: test
     runs-on: blacksmith-4vcpu-ubuntu-2404
-    if: always() && github.repository == 'anomalyco/opencode' && (github.event_name != 'workflow_dispatch' || needs.test.result == 'success')
+    if: github.repository == 'anomalyco/opencode'
     steps:
       - uses: actions/checkout@v3
         with:

+ 0 - 1
.github/workflows/test.yml

@@ -6,7 +6,6 @@ on:
       - dev
   pull_request:
   workflow_dispatch:
-  workflow_call:
 jobs:
   test:
     name: test (${{ matrix.settings.name }})