Skip to content

Commit

Permalink
ci: correct formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
danellecline committed Jun 26, 2024
1 parent eb0ed4b commit 97df239
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,23 @@ jobs:
popd
pushd docker/ecs-autoscale && docker buildx build --push --platform linux/amd64,linux/arm64 -t mbari/ecs-autoscale:$RELEASE_VERSION --label IMAGE_URI=mbari/ecs-autoscale:$RELEASE_VERSION .
pypi_release:
name: Builds Using Poetry and Publishes to PyPI
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ needs.semantic.outputs.new-release-published == 'true' }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Add Poetry to path
run: echo "${HOME}/.local/bin" >> $GITHUB_PATH
- run: poetry install
- name: Supress sqlachemy warning
run: echo "SQLALCHEMY_SILENCE_UBER_WARNING=1" >> $GITHUB_ENV
- run: SAGEMAKER_ROLE=${{ secrets.SAGEMAKER_ROLE }} AWS_DEFAULT_REGION=us-west-2 poetry run pytest
- run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_TOKEN }}"
- name: Publish package
run: poetry publish --build
name: Builds Using Poetry and Publishes to PyPI
runs-on: ubuntu-latest
continue-on-error: true
if: ${{ needs.semantic.outputs.new-release-published == 'true' }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Add Poetry to path
run: echo "${HOME}/.local/bin" >> $GITHUB_PATH
- run: poetry install
- name: Supress sqlachemy warning
run: echo "SQLALCHEMY_SILENCE_UBER_WARNING=1" >> $GITHUB_ENV
- run: SAGEMAKER_ROLE=${{ secrets.SAGEMAKER_ROLE }} AWS_DEFAULT_REGION=us-west-2 poetry run pytest
- run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_TOKEN }}"
- name: Publish package
run: poetry publish --build

0 comments on commit 97df239

Please sign in to comment.