File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed
Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ concurrency:
44 group : ${{ github.workflow }}-${{ github.ref }}
55 cancel-in-progress : true
66
7+ defaults :
8+ run :
9+ shell : bash -l {0}
10+ working-directory : argilla-server
11+
712on :
813 workflow_dispatch :
914 push :
3136 name : Build `argilla-server` package
3237 runs-on : ubuntu-latest
3338
34- defaults :
35- run :
36- shell : bash -l {0}
37- working-directory : argilla-server
38-
3939 services :
4040 elasticsearch :
4141 image : docker.elastic.co/elasticsearch/elasticsearch:8.8.2
@@ -164,11 +164,6 @@ jobs:
164164 # IMPORTANT: this permission is mandatory for trusted publishing on PyPI
165165 id-token : write
166166
167- defaults :
168- run :
169- shell : bash -l {0}
170- working-directory : ./argilla-server
171-
172167 steps :
173168 - name : Checkout Code 🛎
174169 uses : actions/checkout@v4
@@ -182,13 +177,18 @@ jobs:
182177 - name : Setup PDM
183178 uses : pdm-project/setup-pdm@v4
184179 with :
180+ python-version-file : argilla-server/pyproject.toml
181+ cache-dependency-path : argilla-server/pdm.lock
185182 cache : true
186183
187184 - name : Publish Package to PyPI test environment 🥪
188- run : pdm publish --no-build --repository testpypi
185+ run : |
186+ pdm publish --no-build --repository testpypi
189187
190188 - name : Test Installing 🍿
191- run : pip install --index-url https://test.pypi.org/simple --no-deps argilla-server==${GITHUB_REF#refs/*/v}
189+ run : |
190+ pip install --index-url https://test.pypi.org/simple --no-deps argilla-server==${GITHUB_REF#refs/*/v}
192191
193192 - name : Publish Package to PyPI 🥩
194- run : pdm publish --no-build
193+ run : |
194+ pdm publish --no-build
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ jobs:
119119 defaults :
120120 run :
121121 shell : bash -l {0}
122+ working-directory : argilla
122123 steps :
123124 - name : Checkout Code 🛎
124125 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments