Skip to content

Commit b42fc14

Browse files
committed
using workding directory and no package-dir spec
1 parent 6bd79d3 commit b42fc14

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/publish-tljh-matlab.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
if: ${{ contains(github.ref, 'tljh-matlab') }}
1515

1616
runs-on: ubuntu-latest
17+
defaults:
18+
run:
19+
working-directory: ./install_guides/the-littlest-jupyterhub/tljh-matlab
1720

1821
steps:
1922
- uses: actions/checkout@v4
@@ -26,12 +29,10 @@ jobs:
2629
- name: Install dependencies
2730
run: |
2831
python -m pip install --upgrade pip
29-
cd ./install_guides/the-littlest-jupyterhub/tljh-matlab
3032
pip install build
3133
3234
- name: Build package
3335
run: |
34-
cd ./install_guides/the-littlest-jupyterhub/tljh-matlab
3536
python -m build
3637
3738
- name: Upload distributions
@@ -60,5 +61,5 @@ jobs:
6061

6162
- name: Publish to PyPI.
6263
uses: pypa/gh-action-pypi-publish@release/v1
63-
with:
64-
packages-dir: install_guides/the-littlest-jupyterhub/tljh-matlab
64+
# with:
65+
# packages-dir: install_guides/the-littlest-jupyterhub/tljh-matlab

0 commit comments

Comments
 (0)