Relock completely conan.lock #23
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 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| 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: | | |
| conan remote add nrel https://conan.openstudio.net/artifactory/api/conan/openstudio | |
| conan config set general.revisions_enabled=True | |
| # 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 'Conan Dependabot' | |
| git config user.email 'conan-dependabot@users.noreply.github.com' | |
| git commit -am "Automated checkin - update conan recipes" | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v4 | |
| if: failure() | |
| with: | |
| branch: dependabot/conan | |
| committer: 'Conan Dependabot <conan-dependabot@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 |