Skip to content

Commit e0285e6

Browse files
Update release.yml
1 parent 56011c2 commit e0285e6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
jobs:
77
build-windows-linux:
88
runs-on: ${{ matrix.os }}
9+
env:
10+
working-directory: ./xc3_model_py
911
strategy:
1012
fail-fast: false
1113
matrix:
@@ -23,6 +25,7 @@ jobs:
2325
with:
2426
command: build
2527
args: --release --strip --interpreter python${{matrix.python-version}}
28+
working-directory: ${{env.working-directory}}
2629

2730
- name: Release
2831
uses: softprops/action-gh-release@v1
@@ -41,9 +44,12 @@ jobs:
4144
command: publish
4245
container: off
4346
args: --username __token__ --interpreter python${{matrix.python-version}}
47+
working-directory: ${{env.working-directory}}
4448

4549
build-macos:
4650
runs-on: macos-latest
51+
env:
52+
working-directory: ./xc3_model_py
4753
strategy:
4854
fail-fast: false
4955
matrix:
@@ -66,6 +72,7 @@ jobs:
6672
with:
6773
command: build
6874
args: --release --strip --interpreter python${{matrix.python-version}} --target ${{matrix.target}}
75+
working-directory: ${{env.working-directory}}
6976

7077
- name: Release
7178
uses: softprops/action-gh-release@v1
@@ -84,4 +91,5 @@ jobs:
8491
command: publish
8592
container: off
8693
args: --username __token__ --interpreter python${{matrix.python-version}} --target ${{matrix.target}}
87-
94+
working-directory: ${{env.working-directory}}
95+

0 commit comments

Comments
 (0)