|
@@ -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:
|