File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 3333 - name : Build Package
3434 run : python -m build
3535
36- - uses : actions/upload-artifact@v2
37- with :
38- name : netfoundry-pypi-${{ github.run_id }}
39- path : dist/netfoundry-*.tar.gz
36+ - name : List workspace files in ./dist
37+ run : |
38+ ls -lAh ./dist/
4039
4140 - name : Publish Test Package
4241 uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
4544 password : ${{ secrets.TEST_PYPI_API_TOKEN }}
4645 repository_url : https://test.pypi.org/legacy/
4746
47+ # - uses: actions/upload-artifact@v2
48+ # with:
49+ # name: netfoundry-pypi-${{ github.run_id }}
50+ # path: dist/netfoundry-*.tar.gz
51+
4852 # - name: Publish Release Package
4953 # uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
5054 # with:
Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ FROM python:3.9-slim-buster
22COPY ./dist/netfoundry-*.tar.gz /tmp/
33RUN pip install --upgrade pip
44RUN pip install /tmp/netfoundry-*.tar.gz
5+ RUN rm -f /tmp/netfoundry-*.tar.gz
56CMD ["bash" ]
You can’t perform that action at this time.
0 commit comments