kiwix-build/actions/dl_deps_archive
Matthieu Gautier 0d27cbd8cf Update github's action to download the right deps archive. 2024-04-08 16:50:10 +02:00
..
dist Update github's action to download the right deps archive. 2024-04-08 16:50:10 +02:00
.gitignore Update github's action to download the right deps archive. 2024-04-08 16:50:10 +02:00
README.md New github's action to download dependencies archive. 2023-12-19 11:54:46 +01:00
action.yml New github's action to download dependencies archive. 2023-12-19 11:54:46 +01:00
index.js Update github's action to download the right deps archive. 2024-04-08 16:50:10 +02:00
package-lock.json Add path dependency. 2023-12-19 11:54:49 +01:00
package.json Add path dependency. 2023-12-19 11:54:49 +01:00

README.md

Download dependencies archive action

This action download dependencies archive made by kiwix-build. It is intended to be used in projects using theses dependencies

Inputs

base_url

The base url where we can download the archive. This input is provided for greater customization but you probably shouldn't set it.

os_name

The os "name" on which the compilation is done. By default this use the OS_NAME env var, which is set in the docker file.

target_platform

Required The targeted platform. Must be provided. Values are kind of :

  • native_dyn
  • android_arm
  • ...

project

The name of the project being compiled. By default, the name of the repository.

branch

The name of the "branch" to try to download (/dev_preview/<branch>). By default, the current branch on which the action is run.

extract_dir

Where to extract the dependencies archive. By default it is $HOME

Example usage

uses: kiwix/kiwix-build/actions/dl_deps_archive@main
with:
  target_platform: ${{ matrix.target_platform }}
uses: kiwix/kiwix-build/actions/dl_deps_archive@main
with:
  target_platform: native_mixed
  os_name: windows