[Deps] Bump aiohttp from 3.8.6 to 3.9.0 in /otaclient #85
Workflow file for this run
This file contains 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: push main | |
on: | |
pull_request: | |
branches: | |
- main | |
types: [closed] | |
jobs: | |
update_version: | |
runs-on: ubuntu-20.04 | |
if: github.event.pull_request.merged == true | |
timeout-minutes: 10 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: install packages | |
run: >- | |
python -m pip install -r proto/requirements.txt | |
- name: protobuf build | |
run: | | |
cd proto | |
make | |
- name: update .proto_hash | |
run: | | |
cd proto | |
proto_hash=$(python3 proto_hash.py) | |
if [ ${proto_hash} != $(cat .proto_hash) ]; then | |
echo ${proto_hash} > .proto_hash | |
python3 increment_minor.py $(cat .version) > .version | |
fi | |
make clean | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: update otaclient_pb2 hash and version | |
file_pattern: ':/proto/.version :/proto/.proto_hash' | |
branch: main |