Skip to content

Commit

Permalink
[CI] avoid deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Jan 17, 2025
1 parent 5fab604 commit 65c0cdb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,16 @@ jobs:
- name: Set tag version
id: tag
# https://stackoverflow.com/questions/58177786/get-the-current-pushed-tag-in-github-actions
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
run: |
echo "version=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: Set module version
id: module
# https://stackoverflow.com/questions/58177786/get-the-current-pushed-tag-in-github-actions
run: echo ::set-output name=version::$(hatch --quiet version)
run: |
echo "version=$(hatch --quiet version)" >> $GITHUB_OUTPUT
- name: Build and publish titiler packages
if: steps.tag.outputs.tag == steps.module.outputs.version
if: ${{ steps.tag.outputs.version }} == ${{ steps.module.outputs.version}}
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
Expand Down

0 comments on commit 65c0cdb

Please sign in to comment.