Skip to content

Commit 93e70eb

Browse files
committed
fix: return to single job in worflow
1 parent c68217b commit 93e70eb

File tree

1 file changed

+3
-54
lines changed

1 file changed

+3
-54
lines changed

.github/workflows/python-publish.yml

Lines changed: 3 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ on:
1313
types: [published]
1414

1515
jobs:
16-
build:
16+
publish:
1717
runs-on: ubuntu-latest
1818
permissions:
1919
id-token: write
2020
environment:
2121
name: pypi
2222
url: https://pypi.org/project/rps-engine-client-python/
23-
23+
2424
steps:
2525
- name: Checkout code
2626
uses: actions/checkout@v4
@@ -49,59 +49,8 @@ jobs:
4949
run: poetry build
5050
working-directory: Client
5151

52-
53-
publish:
54-
needs: build
55-
runs-on: ubuntu-latest
56-
57-
steps:
5852
- name: Move dist to root
5953
run: mv Client/dist ./dist
6054

6155
- name: Publish package to PyPI
62-
uses: pypa/gh-action-pypi-publish@release/v1
63-
64-
65-
# jobs:
66-
# publish:
67-
# runs-on: ubuntu-latest
68-
# permissions:
69-
# id-token: write
70-
# environment:
71-
# name: pypi
72-
# url: https://pypi.org/project/rps-engine-client-python/
73-
74-
# steps:
75-
# - name: Checkout code
76-
# uses: actions/checkout@v4
77-
# with:
78-
# fetch-depth: 0
79-
# fetch-tags: true
80-
81-
# - name: Set up Python
82-
# uses: actions/setup-python@v5
83-
# with:
84-
# python-version: "3.11.9"
85-
86-
# - name: Install Poetry
87-
# run: |
88-
# python -m pip install --upgrade pip
89-
# pip install "poetry==1.7.1" poetry-dynamic-versioning
90-
91-
# - name: Install dependencies
92-
# run: poetry install
93-
# working-directory: Client
94-
95-
# - name: Check Git tags
96-
# run: git tag
97-
98-
# - name: Build package
99-
# run: poetry build
100-
# working-directory: Client
101-
102-
# - name: Move dist to root
103-
# run: mv Client/dist ./dist
104-
105-
# - name: Publish package to PyPI
106-
# uses: pypa/gh-action-pypi-publish@release/v1
107-
56+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)