Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 13 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
python-version: "3.x"

- name: Install hatch
run: |
run: |
pip install hatch

- name: Get Version
id: version
run: |
run: |
echo "version=$(hatch version)" >> $GITHUB_OUTPUT

publish:
runs-on: ubuntu-latest
needs:
Expand All @@ -54,14 +54,14 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
python-version: "3.x"

- name: Install hatch
run: |
run: |
pip install hatch

- name: Build SDK
run: |
run: |
hatch build

- name: Publish Python 🐍 distributions 📦 to PyPI
Expand All @@ -79,6 +79,11 @@ jobs:
- publish

steps:
- name: Checkout main branch
uses: actions/checkout@v4.1.7
with:
ref: main

- name: Slack - Success Message
uses: DSdatsme/slack-github-action@env_support
if: ${{ success() && needs.publish.result == 'success' }}
Expand Down