Don't test with DMD 2.098 on macOS #42
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
on: | |
push: | |
branches: | |
- master | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Install D compiler | |
uses: dlang-community/setup-dlang@v1 | |
with: | |
compiler: dmd-latest | |
- name: Build documentation | |
run: | | |
wget https://github.com/adamdruppe/adrdox/archive/master.zip | |
unzip master.zip | |
pushd adrdox-master && make && popd | |
export PATH=$PATH:$PWD/adrdox-master | |
doc2 --genSearchIndex --genSource -o generated-docs src | |
- name: Deploy to Github Pages | |
uses: JamesIves/github-pages-deploy-action@3.7.1 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: generated-docs |