Skip to content

Commit f8deca0

Browse files
committed
ci: enable builds for fork madkoding/opencode
1 parent 7464e55 commit f8deca0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ permissions:
3333
jobs:
3434
version:
3535
runs-on: blacksmith-4vcpu-ubuntu-2404
36-
if: github.repository == 'anomalyco/opencode'
36+
if: github.repository == 'anomalyco/opencode' || github.repository == 'madkoding/opencode'
3737
steps:
3838
- uses: actions/checkout@v3
3939
with:
@@ -70,7 +70,7 @@ jobs:
7070
build-cli:
7171
needs: version
7272
runs-on: blacksmith-4vcpu-ubuntu-2404
73-
if: github.repository == 'anomalyco/opencode'
73+
if: github.repository == 'anomalyco/opencode' || github.repository == 'madkoding/opencode'
7474
steps:
7575
- uses: actions/checkout@v3
7676
with:
@@ -95,7 +95,8 @@ jobs:
9595
GH_REPO: ${{ needs.version.outputs.repo }}
9696
GH_TOKEN: ${{ steps.committer.outputs.token }}
9797

98-
- uses: actions/upload-artifact@v4
98+
- name: Upload artifacts
99+
uses: actions/upload-artifact@v4
99100
with:
100101
name: opencode-cli
101102
path: packages/opencode/dist
@@ -108,6 +109,7 @@ jobs:
108109
- build-cli
109110
- version
110111
continue-on-error: false
112+
if: github.repository == 'anomalyco/opencode' || github.repository == 'madkoding/opencode'
111113
strategy:
112114
fail-fast: false
113115
matrix:

0 commit comments

Comments
 (0)