Skip to content

Updates the micromamba action #284

Updates the micromamba action

Updates the micromamba action #284

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/[email protected]
environment-file: environment.yml

Check failure on line 20 in .github/workflows/check_sphinx_build.yml

View workflow run for this annotation

GitHub Actions / Check Sphinx Build

Invalid workflow file

The workflow is not valid. .github/workflows/check_sphinx_build.yml (Line: 20, Col: 9): Unexpected value 'environment-file' .github/workflows/check_sphinx_build.yml (Line: 21, Col: 9): Unexpected value 'cache-environment'
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