Skip to content

Commit

Permalink
Merge pull request #155 from endlessm/released-collections
Browse files Browse the repository at this point in the history
Use released collections
  • Loading branch information
starnight authored Sep 8, 2023
2 parents 062cefb + ce516c6 commit 88e3a27
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: CI

on:
push:
branches: [master]
pull_request:
workflow_call:
inputs:
Expand Down Expand Up @@ -101,16 +102,15 @@ jobs:
7z x apps-bundle.zip -osrc/apps-bundle
- name: Download collections manifest files
run: |
$CollectionUri = 'https://github.com/endlessm/endless-key-collections/archive/refs/heads/main.zip'
$CollectionTarball = 'endless-key-collections.zip'
Invoke-WebRequest -Uri $CollectionUri -OutFile $CollectionTarball
Expand-Archive -Path $CollectionTarball -DestinationPath .
uses: robinraju/release-downloader@v1.8
with:
repository: "endlessm/endless-key-collections"
latest: true
fileName: "collections.zip"

- name: Add endless-key-collections to Kolibri's dist package
- name: Add collections to Kolibri's dist package
run: |
mkdir src/collections
mv endless-key-collections-*/json/*.json src/collections
7z x collections.zip -osrc/collections
- name: Patch Kolibri
run: |
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ launch the Kolibri server with a minimal configuration.
https://github.com/endlessm/kolibri-explore-plugin/releases/latest/download/apps-bundle.zip
```

* Download endless key collections, unzip and copy the `json` folder to `collections`:
* Download endless key collections and unzip it in `collections`:
```
https://github.com/endlessm/endless-key-collections/archive/refs/heads/main.zip
https://github.com/endlessm/endless-key-collections/releases/latest/download/collections.zip
```

* Build kolibri-electron:
Expand Down

0 comments on commit 88e3a27

Please sign in to comment.