@@ -35,18 +35,27 @@ jobs:
3535 - name : Setup NIMS
3636 run : poetry install
3737
38- - name : Lint the Code
38+ - name : Setup NIMG
39+ run : poetry install
40+ working-directory : ./ni_measurement_generator
41+
42+ - name : Lint NIMS, NIMG, and examples
3943 run : poetry run ni-python-styleguide lint
4044
4145 # If the tag is 0.1.0, this will set the version of NIMS package to 0.1.0
4246 - name : Store version from Tag
4347 id : vars
4448 run : echo ::set-output name=tag::${GITHUB_REF#refs/*/}
4549
46- - name : Promote NIMS package version to tag name.
50+ - name : Update NIMS package version based on tag name.
4751 run : |
4852 poetry version ${{ steps.vars.outputs.tag }}
4953
54+ - name : Update NIMG package version based on tag name.
55+ run : |
56+ poetry version ${{ steps.vars.outputs.tag }}
57+ working-directory : ./ni_measurement_generator
58+
5059 - name : Update API Reference Documents(Generated using Sphinx)
5160 run : |
5261 rm -rf docs
@@ -71,11 +80,17 @@ jobs:
7180 unprotect_reviews : true
7281
7382 # To Test the Publish use : poetry publish --build --username __token__ --password ${{ secrets.TEST_PYPI_TOKEN }} -r test-pypi
74- - name : Build Python package and publish to PyPI
83+ - name : Build NIMS Python package and publish to PyPI
7584 if : ${{ startsWith(github.event.release.target_commitish, 'main') }}
7685 run : |
7786 poetry publish --build --username __token__ --password ${{ secrets.PYPI_TOKEN }}
7887
88+ - name : Build NIMG Python package and publish to PyPI
89+ if : ${{ startsWith(github.event.release.target_commitish, 'main') }}
90+ run : |
91+ poetry publish --build --username __token__ --password ${{ secrets.PYPI_TOKEN }}
92+ working-directory : ./ni_measurement_generator
93+
7994 - uses : actions/upload-artifact@v3
8095 with :
8196 name : NIMS Artifacts
0 commit comments