Skip to content

Commit b2e5921

Browse files
a
1 parent 6a09bbb commit b2e5921

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/tidy3d-python-client-deploy.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,19 @@ jobs:
7373
7474
# Validate at least one target is selected
7575
if [[ "$DEPLOY_TESTPYPI" != "true" && "$DEPLOY_PYPI" != "true" && "$DEPLOY_AWS" != "true" ]]; then
76-
echo "? Error: At least one deployment target must be selected"
76+
echo "Error: At least one deployment target must be selected"
7777
exit 1
7878
fi
7979
8080
# Validate tag format
8181
TAG_REGEX='^v[0-9]+\.[0-9]+\.[0-9]+(rc[0-9]+)?$'
8282
if [[ ! "$RELEASE_TAG" =~ $TAG_REGEX ]]; then
83-
echo "?? Warning: Tag format doesn't match standard pattern v{major}.{minor}.{patch}[rc{num}]"
83+
echo " Warning: Tag format doesn't match standard pattern v{major}.{minor}.{patch}[rc{num}]"
8484
echo " Tag: $RELEASE_TAG"
8585
echo " Continuing anyway..."
8686
fi
8787
88-
echo "? Validation passed"
88+
echo "Validation passed"
8989
9090
build-package:
9191
name: build-distribution-package
@@ -116,7 +116,7 @@ jobs:
116116
echo "Build artifacts:"
117117
ls -lh dist/
118118
echo ""
119-
echo "? Package built successfully"
119+
echo "Package built successfully"
120120
121121
- name: upload-artifacts
122122
uses: actions/upload-artifact@v4
@@ -152,14 +152,14 @@ jobs:
152152
TWINE_USERNAME: __token__
153153
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
154154
run: |
155-
echo "?? Publishing to TestPyPI..."
155+
echo "Publishing to TestPyPI..."
156156
python -m twine upload \
157157
--repository-url https://test.pypi.org/legacy/ \
158158
--verbose \
159159
dist/*
160160
echo ""
161-
echo "? Successfully published to TestPyPI"
162-
echo " View at: https://test.pypi.org/project/tidy3d/"
161+
echo "Successfully published to TestPyPI"
162+
echo "View at: https://test.pypi.org/project/tidy3d/"
163163
164164
deploy-pypi:
165165
name: deploy-to-pypi
@@ -193,13 +193,13 @@ jobs:
193193
TWINE_USERNAME: __token__
194194
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
195195
run: |
196-
echo "?? Publishing to production PyPI..."
196+
echo "Publishing to production PyPI..."
197197
python -m twine upload \
198198
--repository pypi \
199199
--verbose \
200200
dist/*
201201
echo ""
202-
echo "? Successfully published to PyPI"
202+
echo "Successfully published to PyPI"
203203
echo " View at: https://pypi.org/project/tidy3d/"
204204
205205
deploy-aws-codeartifact:
@@ -238,7 +238,7 @@ jobs:
238238

239239
- name: configure-codeartifact-package
240240
run: |
241-
echo "?? Configuring CodeArtifact package settings..."
241+
echo "Configuring CodeArtifact package settings..."
242242
aws codeartifact put-package-origin-configuration \
243243
--domain flexcompute \
244244
--repository pypi-releases \
@@ -248,7 +248,7 @@ jobs:
248248
249249
- name: get-codeartifact-token
250250
run: |
251-
echo "?? Getting CodeArtifact authorization token..."
251+
echo "Getting CodeArtifact authorization token..."
252252
CODEARTIFACT_AUTH_TOKEN=$(aws codeartifact get-authorization-token \
253253
--domain flexcompute \
254254
--domain-owner 625554095313 \
@@ -261,15 +261,15 @@ jobs:
261261
env:
262262
TWINE_PASSWORD: ${{ env.CODEARTIFACT_AUTH_TOKEN }}
263263
run: |
264-
echo "?? Publishing to AWS CodeArtifact..."
264+
echo "Publishing to AWS CodeArtifact..."
265265
python -m twine upload \
266266
--repository-url https://flexcompute-625554095313.d.codeartifact.us-east-1.amazonaws.com/pypi/pypi-releases/ \
267267
--verbose \
268268
-u aws \
269269
-p "$TWINE_PASSWORD" \
270270
dist/*
271271
echo ""
272-
echo "? Successfully published to AWS CodeArtifact"
272+
echo "Successfully published to AWS CodeArtifact"
273273
274274
deployment-summary:
275275
name: deployment-summary
@@ -290,27 +290,27 @@ jobs:
290290
291291
# Check for failures
292292
if [[ "${{ needs.build-package.result }}" == "failure" ]]; then
293-
echo "? Build failed"
293+
echo "Build failed"
294294
exit 1
295295
fi
296296
297297
# Check if any selected deployment failed
298298
failed=false
299299
if [[ "${{ needs.validate-inputs.outputs.deploy_testpypi }}" == "true" && "${{ needs.deploy-testpypi.result }}" == "failure" ]]; then
300-
echo "? TestPyPI deployment failed"
300+
echo "TestPyPI deployment failed"
301301
failed=true
302302
fi
303303
if [[ "${{ needs.validate-inputs.outputs.deploy_pypi }}" == "true" && "${{ needs.deploy-pypi.result }}" == "failure" ]]; then
304-
echo "? PyPI deployment failed"
304+
echo "PyPI deployment failed"
305305
failed=true
306306
fi
307307
if [[ "${{ needs.validate-inputs.outputs.deploy_aws }}" == "true" && "${{ needs.deploy-aws-codeartifact.result }}" == "failure" ]]; then
308-
echo "? AWS CodeArtifact deployment failed"
308+
echo "AWS CodeArtifact deployment failed"
309309
failed=true
310310
fi
311311
312312
if [[ "$failed" == "true" ]]; then
313313
exit 1
314314
fi
315315
316-
echo "? All selected deployments completed successfully"
316+
echo "All selected deployments completed successfully"

0 commit comments

Comments
 (0)