Files
MapLibreParticleLab/.github/workflows/gh-pages-android-api.yml
Birk Skyum 77a859f1ad Update github actions, and add dependabot to keep track of them (#387)
* dependabot for github actions

* Update github actions

* update ubuntu version from deprecated 18

* keep ubuntu 20
2022-08-11 11:29:22 +02:00

33 lines
846 B
YAML

name: gh-pages-android-api
on:
workflow_dispatch:
inputs:
version:
description: 'Version'
required: true
default: '9.5.2'
jobs:
gh-pages-android-api:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Download javadoc from Maven
run: |
wget https://repo1.maven.org/maven2/org/maplibre/gl/android-sdk/${{ github.event.inputs.version }}/android-sdk-${{ github.event.inputs.version }}-javadoc.jar -O javadoc.zip
- name: Unzip
run: |
mkdir unzipped/
unzip javadoc.zip -d unzipped/
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.0
with:
branch: gh-pages
folder: unzipped
target-folder: android/api/