Skip to content

Commit 61a1013

Browse files
committed
region
1 parent 5d9f2b1 commit 61a1013

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

template/.github/workflows/ci.yaml.jinja

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
python-version: {% endraw %}{{ python_version }}{% raw %}{% endraw %}{% if python_package_registry == "AWS CodeArtifact" %}{% raw %}
2929
code-artifact-auth-role-name: CoreInfraBaseAccess
3030
code-artifact-auth-role-account-id: {% endraw %}{{ aws_central_infrastructure_account_id }}{% raw %}
31-
code-artifact-auth-role-region: {% endraw %}{{ aws_org_home_region }}{% endif %}{% raw %}
31+
code-artifact-auth-region: {% endraw %}{{ aws_org_home_region }}{% endif %}{% raw %}
3232

3333
- name: Set up mutex # Github concurrency management is horrible, things get arbitrarily cancelled if queued up. So using mutex until github fixes itself. When multiple jobs are modifying cache at once, weird things can happen. possible issue is https://github.com/actions/toolkit/issues/658
3434
if: ${{ runner.os != 'Windows' }} # we're just gonna have to YOLO on Windows, because this action doesn't support it yet https://github.com/ben-z/gh-action-mutex/issues/14
@@ -78,7 +78,7 @@ jobs:
7878
python-version: ${{ matrix.python-version }}{% endraw %}{% if python_package_registry == "AWS CodeArtifact" %}{% raw %}
7979
code-artifact-auth-role-name: CoreInfraBaseAccess
8080
code-artifact-auth-role-account-id: {% endraw %}{{ aws_central_infrastructure_account_id }}{% raw %}
81-
code-artifact-auth-role-region: {% endraw %}{{ aws_org_home_region }}{% endif %}{% raw %}
81+
code-artifact-auth-region: {% endraw %}{{ aws_org_home_region }}{% endif %}{% raw %}
8282

8383
- name: Unit test
8484
run: uv run pytest tests/unit --cov-report=xml --durations=5
@@ -118,7 +118,7 @@ jobs:
118118
python-version: ${{ matrix.python-version }}{% endraw %}{% if python_package_registry == "AWS CodeArtifact" %}{% raw %}
119119
code-artifact-auth-role-name: CoreInfraBaseAccess
120120
code-artifact-auth-role-account-id: {% endraw %}{{ aws_central_infrastructure_account_id }}{% raw %}
121-
code-artifact-auth-role-region: {% endraw %}{{ aws_org_home_region }}{% endif %}{% raw %}
121+
code-artifact-auth-region: {% endraw %}{{ aws_org_home_region }}{% endif %}{% raw %}
122122

123123
- name: Build executable
124124
run: uv run pyinstaller pyinstaller.spec --log-level=DEBUG
@@ -152,7 +152,7 @@ jobs:
152152
python-version: ${{ matrix.python-version }}{% endraw %}{% if python_package_registry == "AWS CodeArtifact" %}{% raw %}
153153
code-artifact-auth-role-name: CoreInfraBaseAccess
154154
code-artifact-auth-role-account-id: {% endraw %}{{ aws_central_infrastructure_account_id }}{% raw %}
155-
code-artifact-auth-role-region: {% endraw %}{{ aws_org_home_region }}{% endif %}{% raw %}
155+
code-artifact-auth-region: {% endraw %}{{ aws_org_home_region }}{% endif %}{% raw %}
156156

157157
- name: Build docs
158158
working-directory: ./docs

0 commit comments

Comments
 (0)