Skip to content

Update README.md

Update README.md #15

Workflow file for this run

name: Documentation Generation
on: [push, pull_request]
jobs:
docgen:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-11]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
if: matrix.os == 'macos-11'
- run: cd oclint-scripts && ./gh-actions docgen
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
if: github.event_name == 'push'
- name: Copy artifacts to AWS S3
env:
RUNNER_OS: ${{ matrix.os }}
run: aws s3 cp build/ s3://travisci-artifacts.oclint.org/${GITHUB_REPOSITORY}/gh-docgen-${GITHUB_RUN_ID}/${RUNNER_OS} --recursive --exclude "*" --include "oclint-*.tar.gz"
if: github.event_name == 'push'