Skip to content

Commit ec260df

Browse files
committed
fix: Refactor workflow to set working directory for jobs
This was previously set at the top level which was not correct.
1 parent 6092f07 commit ec260df

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ on:
44
release:
55
types: [published]
66

7-
defaults:
8-
run:
9-
working-directory: "./backend"
10-
117
jobs:
128
push:
139
runs-on: ubuntu-latest
14-
10+
defaults:
11+
run:
12+
working-directory: "./backend"
1513
steps:
1614
- name: Checkout
1715
uses: actions/checkout@v4
@@ -28,7 +26,6 @@ jobs:
2826

2927
- name: Publish to PyPi
3028
uses: pypa/gh-action-pypi-publish@release/v1
31-
working-directory: "./backend"
3229
with:
3330
user: __token__
3431
password: ${{ secrets.PYPI_UPLOAD_TOKEN }}

0 commit comments

Comments
 (0)