Fixed swig which didn't have PCRE support in this PR: https://github.… #28
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
| name: "Conan Dependabot" | |
| on: | |
| # schedule: | |
| # # Every week on Thursdays | |
| # - cron: '23 10 * * 4' | |
| push: | |
| branches: [ bump_deps, dependabot_conan ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # Commit to branch | |
| pull-requests: write # Create pull request | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.x' | |
| - name: Install dependencies | |
| shell: bash | |
| working-directory: ./developer/conan | |
| run: | | |
| pip install -r requirements.txt | |
| - name: Find outdated conan packages | |
| shell: bash | |
| working-directory: ./developer/conan | |
| run: | | |
| begin_group() { echo -e "::group::\033[93m$1\033[0m"; } | |
| begin_group "Configure Conan" | |
| conan remote add --force nrel-v2 https://conan.openstudio.net/artifactory/api/conan/conan-v2 | |
| echo "core:non_interactive = True" >> $HOME/.conan2/global.conf | |
| echo "core.download:parallel = {{os.cpu_count() - 2}}" >> $HOME/.conan2/global.conf | |
| cat $HOME/.conan2/global.conf | |
| echo "::endgroup::" | |
| # This returns 1 if update was needed | |
| python dependabot_conan.py | |
| - name: Commit results | |
| if: failure() | |
| shell: bash | |
| run: | | |
| set -x | |
| git config user.name 'github-actions[bot]' | |
| git config user.email '41898282+github-actions[bot]@users.noreply.github.com' | |
| git commit -am "Automated checkin - update conan recipes" | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v8 | |
| if: failure() | |
| with: | |
| branch: dependabot/conan | |
| committer: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>' | |
| delete-branch: true | |
| title: "[bot] New upstream conan recipes" | |
| body: | | |
| Automatic run of `[dependabot_conan.py](developer/conan/dependabot_conan.py)` | |
| which is done periodically to be made aware of upstream recipe updates |