fix upload #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Pipenv test" | |
on: push | |
env: | |
JFROG_CLI_LOG_LEVEL: DEBUG | |
permissions: | |
# This is required for requesting the OIDC token | |
id-token: write | |
# This is required for actions/checkout | |
contents: read | |
security-events: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JFrog CLI | |
uses: jfrog/setup-jfrog-cli@v4 | |
id: setup-cli | |
env: | |
JF_URL: ${{ vars.JF_URL_ECO }} | |
JF_USER: ${{ secrets.JF_USER }} | |
JF_PASSWORD: ${{ secrets.JF_ACCESS_TOKEN }} | |
#JF_ACCESS_TOKEN: ${{ }} | |
with: | |
version: 2.67.0 | |
# # OIDC provider name from the OIDC integration page in the JFrog Platform | |
# #oidc-provider-name: robi-oidc-test-groups | |
- name: Setup Python3 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11.5" | |
- name: Setup Pipenv | |
run: python -m pip install --upgrade pip setuptools wheel pipenv | |
- name: Package managers versions | |
run: | | |
jf -v | |
which jf | |
python --version | |
pip --version | |
wheel version | |
pip show setuptools | |
echo $VIRTUAL_ENV | |
- name: Pipenv build | |
run: | | |
cd python-example/pipenv-example/ | |
jf pipenv-config --repo-resolve=robi-pypi-virtual | |
jf pipenv install | |
python setup.py sdist bdist_wheel | |
#jf rt u dist/ robi-pypi-virtual/ --module=jfrog-python-example | |
- name: upload | |
run: | | |
cd python-example/pipenv-example/ | |
ls -al | |
jf rt u dist/ robi-pypi-virtual/ --module=jfrog-python-example |