Skip to content

Fix race condition when accessing source info in action primitives (#… #53

Fix race condition when accessing source info in action primitives (#…

Fix race condition when accessing source info in action primitives (#… #53

Workflow file for this run

name: Doxygen
on:
push:
branches:
- main
jobs:
upload-doc:
if: ${{ github.repository == 'p4lang/behavioral-model' && github.ref == 'refs/heads/main' }}
name: Upload bmv2.org Doxygen documentation to S3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Doxygen
run: |
docker run --rm -v $(pwd):/data hrektts/doxygen doxygen
- name: Upload to S3
uses: jakejarvis/[email protected]
with:
args: --acl public-read --follow-symlinks --delete
env:
AWS_S3_BUCKET: 'bmv2.org'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-west-2'
SOURCE_DIR: 'doxygen-out/html'