File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,17 @@ jobs:
2121 - name : Set up Python
2222 uses : actions/setup-python@v2
2323 with :
24- python-version : ' 3.x'
24+ python-version : " 3.x"
2525
2626 - name : Install hatch
27- run : |
27+ run : |
2828 pip install hatch
29-
29+
3030 - name : Get Version
3131 id : version
32- run : |
32+ run : |
3333 echo "version=$(hatch version)" >> $GITHUB_OUTPUT
34-
34+
3535 publish :
3636 runs-on : ubuntu-latest
3737 needs :
@@ -54,14 +54,14 @@ jobs:
5454 - name : Set up Python
5555 uses : actions/setup-python@v2
5656 with :
57- python-version : ' 3.x'
57+ python-version : " 3.x"
5858
5959 - name : Install hatch
60- run : |
60+ run : |
6161 pip install hatch
6262
6363 - name : Build SDK
64- run : |
64+ run : |
6565 hatch build
6666
6767 - name : Publish Python 🐍 distributions 📦 to PyPI
7979 - publish
8080
8181 steps :
82+ - name : Checkout main branch
83+ 84+ with :
85+ ref : main
86+
8287 - name : Slack - Success Message
8388 uses : DSdatsme/slack-github-action@env_support
8489 if : ${{ success() && needs.publish.result == 'success' }}
You can’t perform that action at this time.
0 commit comments