File tree Expand file tree Collapse file tree
actions/run_and_upload_unit_tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 run : echo "osVersion=$ImageOS" >> "$GITHUB_ENV"
88 shell : bash
99 - name : Cache ni.datastore virtualenv
10- uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
10+ uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
1111 with :
1212 path : ./.venv
1313 key : ni.datastore-${{ runner.os }}-py${{ env.pythonVersion }}-${{ hashFiles('./poetry.lock') }}
2020 working-directory : .
2121 shell : bash
2222 - name : Upload ni.datastore test results
23- uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
23+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
2424 with :
2525 name : test_results_unit_ni.datastore_${{ env.osVersion }}_py${{ env.pythonVersion }}
2626 path : ${{ github.workspace }}/test_results/*.xml
Original file line number Diff line number Diff line change 2323 - name : Check for lock changes
2424 run : poetry check --lock
2525 - name : Cache virtualenv (with docs)
26- uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
26+ uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
2727 with :
2828 path : .venv
2929 key : ni.datastore-with-docs-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('./poetry.lock') }}
3232 - name : Generate docs
3333 run : poetry run sphinx-build docs docs/_build -b html -W
3434 - name : Upload docs artifact
35- uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
35+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
3636 with :
3737 name : ni.datastore-docs
3838 path : ./docs/_build/
Original file line number Diff line number Diff line change 5454 - name : Build distribution packages
5555 run : poetry build
5656 - name : Upload build artifacts
57- uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
57+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5858 with :
5959 name : ${{ env.dist-artifact-name }}
6060 path : dist/*
7777 path : dist/
7878 - run : ls -lR
7979 - name : Upload to ${{ env.environment }}
80- uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13 .0
80+ uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14 .0
8181 with :
8282 repository-url : ${{ fromJson(env.environment-info)[env.environment].upload-url }}
8383 update_version :
You can’t perform that action at this time.
0 commit comments