Skip to content

Commit

Permalink
change working directory to cd
Browse files Browse the repository at this point in the history
  • Loading branch information
vzickner committed Sep 20, 2024
1 parent 7d91830 commit 6d7a642
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,5 @@ jobs:
- run: source venv/bin/activate
- run: pip install setuptools
- run: python external-worker/setup.py install
- run: pip install -e ".[testing]"
working-directory: ./robocorp/
- run: python -m unittest discover
working-directory: ./robocorp/
- run: cd ./robocorp/ && pip install -e ".[testing]"
- run: cd ./robocorp/ && python -m unittest discover
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,10 @@ jobs:
- run: virtualenv venv
- run: source venv/bin/activate
- run: pip install setuptools
- run: python setup.py sdist
working-directory: ./external-worker/
- run: pip wheel --no-deps . -w dist
working-directory: ./external-worker/
- run: cd ./external-worker/ && python setup.py sdist
- run: cd ./external-worker/ && pip wheel --no-deps . -w dist
- 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
7 changes: 2 additions & 5 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,10 @@ jobs:
- run: virtualenv venv
- run: source venv/bin/activate
- run: pip install setuptools
- run: python setup.py sdist
working-directory: ./external-worker/
- run: pip wheel --no-deps . -w dist
working-directory: ./external-worker/
- run: cd ./external-worker/ && python setup.py sdist
- run: cd ./external-worker/ && pip wheel --no-deps . -w dist
- 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 6d7a642

Please sign in to comment.