Skip to content

Commit

Permalink
replace cd with working-directory property
Browse files Browse the repository at this point in the history
  • Loading branch information
vzickner committed Sep 20, 2024
1 parent dfc787d commit 3d6c8fb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: External Worker Build and Test
name: Flowable External Client Build and Test

on: [push, pull_request]

Expand Down Expand Up @@ -41,8 +41,9 @@ jobs:
- run: pip install virtualenv
- run: virtualenv venv
- run: source venv/bin/activate
- run: python external-worker/setup.py install
- run: cd robocorp/
- run: pip install setuptools
- run: python external-worker/setup.py install
- run: pip install -e ".[testing]"
- run: python -m unittest discover
working-directory: robocorp/
- run: python -m unittest discover
working-directory: robocorp/
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ jobs:
- run: virtualenv venv
- run: source venv/bin/activate
- run: pip install setuptools
- run: cd external-worker/
- run: python setup.py sdist
working-directory: external-worker/
- run: pip wheel --no-deps . -w dist
working-directory: external-worker/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
working-directory: external-worker/
with:
packages-dir: external-worker/dist/
verbose: true
4 changes: 3 additions & 1 deletion .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ jobs:
- run: virtualenv venv
- run: source venv/bin/activate
- run: pip install setuptools
- run: cd external-worker/
- run: python setup.py sdist
working-directory: external-worker/
- run: pip wheel --no-deps . -w dist
working-directory: external-worker/
- name: Publish package distributions to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
working-directory: external-worker/
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: external-worker/dist/
Expand Down

0 comments on commit 3d6c8fb

Please sign in to comment.