Updates the micromamba action #285
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Sphinx Build | |
on: | |
pull_request: | |
branches: [master, source] | |
jobs: | |
jekyll_build: | |
name: Jekyll build of web pages | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/actions/checkout | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Install Conda environment from environment.yml | |
uses: mamba-org/setup-micromamba@v2.0.0 | |
with: | |
environment-file: environment.yml | |
cache-environment: true | |
- name: Build documentation | |
shell: bash -l {0} | |
run: | | |
make html | |
# workaround https://github.com/actions/upload-artifact/issues/38 | |
- name: tarball | |
run: tar czf site.tar.gz ./_build/html/ | |
# https://github.com/actions/upload-artifact | |
- name: Upload Website artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Website | |
path: site.tar.gz |