Skip to content

Commit

Permalink
Change git url and git config to fix CI failure
Browse files Browse the repository at this point in the history
  • Loading branch information
bonprosoft committed Jan 7, 2024
1 parent 631a80e commit 5f78c62
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Prepare build env
run: |
python3 -m pip install --upgrade pip
pip3 install git+git://github.com/rospypi/index_builder.git@${{ env.INDEX_BUILDER_COMMIT }}
pip3 install git+https://github.com/rospypi/index_builder.git@${{ env.INDEX_BUILDER_COMMIT }}
- name: Build index html
run: |
git clone https://github.com/rospypi/simple.git simple
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
# python:3.8-buster has git>=2.20 which actions/checkout@v2 requires
image: python:3.8-buster
steps:
- name: Configure git
shell: bash
run: |
git config --global --add safe.directory $(pwd)
- uses: actions/checkout@v2
- name: Set up Python
run: |
Expand Down
2 changes: 1 addition & 1 deletion assets/build_ros_stubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def run(
ctx.variables["BUILD_ENV_DIR"] = str(build_env_dir)

_logger.info("Running buildtool")
artifacts = builder.build(ctx)
artifacts: List[builder.ArtifactInfo] = builder.build(ctx)
print(" ===== Build Result =====")
for artifact in artifacts:
previous_version = "-"
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ skip_install = true
deps =
pipenv==2020.11.15
changedir = assets
setenv =
PYSEN_IGNORE_GIT = 1
commands =
pipenv sync --dev
pipenv run pysen run lint
Expand Down

0 comments on commit 5f78c62

Please sign in to comment.