Skip to content

Commit 29dfb9d

Browse files
committed
feat!: Include ZIM files in releases (#3102)
1 parent 0f6ee45 commit 29dfb9d

17 files changed

+749
-65
lines changed

.github/workflows/build-pr.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,16 @@ jobs:
101101
continue-on-error: true
102102
privileged: ${{ fromJSON(needs.metadata.outputs.privileged) }}
103103

104+
build_zimfile:
105+
if: ${{ contains(github.event.pull_request.labels.*.name, 'ci:build zimfile') }}
106+
needs: [submodule, metadata]
107+
uses: ./.github/workflows/build-zimfile.yml
108+
with:
109+
ref: ${{github.event.pull_request.head.ref}}
110+
repo: ${{github.event.pull_request.head.repo.full_name}}
111+
secrets:
112+
RO_DISCOURSE_API_KEY: ${{ secrets.RO_DISCOURSE_API_KEY }}
113+
104114
combine_build:
105115
needs: [build_english, build_i18n, build_blog]
106116
if: |
@@ -129,5 +139,5 @@ jobs:
129139

130140
cleanup:
131141
if: ${{ always() }}
132-
needs: [build_english, build_i18n, build_blog]
142+
needs: [build_english, build_i18n, build_blog, build_zimfile]
133143
uses: privacyguides/.github/.github/workflows/cleanup.yml@main

0 commit comments

Comments
 (0)