fix: replace bare except clauses across CLI tools (#1421) #142
This file contains hidden or 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
| # SPDX-FileCopyrightText: 2022 Antonin Bas | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| 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@v7 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y doxygen graphviz | |
| - name: Run Doxygen | |
| run: | | |
| doxygen Doxyfile | |
| # Disabled: bmv2.org domain is no longer owned/available, this step | |
| # consistently fails due to invalid bucket/credentials. See issue #1408. | |
| # - name: Upload to S3 | |
| # uses: jakejarvis/s3-sync-action@v0.5.1 | |
| # 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' |