Revert "ci: make tests passing a requirement pre-release"
This reverts commit 8c00818108.
This commit is contained in:
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@@ -29,13 +29,9 @@ permissions:
|
|||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
|
||||||
if: github.event_name == 'workflow_dispatch'
|
|
||||||
uses: ./.github/workflows/test.yml
|
|
||||||
publish:
|
publish:
|
||||||
needs: test
|
|
||||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@@ -6,7 +6,6 @@ on:
|
|||||||
- dev
|
- dev
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
workflow_call:
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: test (${{ matrix.settings.name }})
|
name: test (${{ matrix.settings.name }})
|
||||||
|
|||||||
Reference in New Issue
Block a user