Skip to content

Commit

Permalink
[releases/2.0] Fix working directory for Publish_NIMS.cs (#793)
Browse files Browse the repository at this point in the history
* Fix working directory for Python poetry commands

* Fix line indentation
  • Loading branch information
dixonjoel authored Jul 12, 2024
1 parent 2301c7d commit ed7080a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/Publish_NIMS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:

- name: Check for lock changes
run: poetry lock --check
working-directory: ./packages/service

# If the tag is 0.1.0, this will set the version of NIMS package to 0.1.0
- name: Store version from Tag
Expand All @@ -47,7 +48,7 @@ jobs:
- name: Update NIMS package version based on tag name.
run: |
poetry version ${{ steps.vars.outputs.tag }}
working-directory: ./packages/service
working-directory: ./packages/service

- name: Update NIMG package version based on tag name.
run: |
Expand Down Expand Up @@ -85,6 +86,7 @@ jobs:
if: ${{ startsWith(github.event.release.target_commitish, 'main') || startsWith(github.event.release.target_commitish, 'releases/') }}
run: |
poetry publish --build --username __token__ --password ${{ secrets.PYPI_TOKEN }}
working-directory: ./packages/service

- name: Build NIMG Python package and publish to PyPI
if: ${{ startsWith(github.event.release.target_commitish, 'main') || startsWith(github.event.release.target_commitish, 'releases/') }}
Expand Down

0 comments on commit ed7080a

Please sign in to comment.