Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 1 addition & 17 deletions .github/workflows/build-base-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy
inputs:
deploy:
type: choice
description: 'Whether to upload base python build to artifactory'
description: 'Whether to upload base python build to Proget'
options:
- 'no-upload'
- 'upload'
Expand Down Expand Up @@ -87,22 +87,6 @@ jobs:
echo "archive_path=$archive_path" >> $GITHUB_ENV
echo "shortversion=$shortversion" >> $GITHUB_ENV

- name: Set up JFrog CLI
if: ${{ inputs.deploy == 'upload' }}
uses: jfrog/setup-jfrog-cli@v4
env:
JF_ENV_1: ${{ secrets.ARTIFACTORY_GH_CCDC_3RDPARTY_PYTHON_INTERPRETERS_READ_WRITE_EXPORT }}

- name: Upload base python to Artifactory
if: ${{ inputs.deploy == 'upload' }}
shell: bash
run: |
# Upload the base python to Artifactory
jf c use gh-ccdc-3rdparty-python-interpreters-read-write
jfrog rt upload --flat \
"${{ env.archive_path }}/${{ env.archive_filename }}" \
"ccdc-3rdparty-python-interpreters/base_python/${{ env.shortversion }}/"

- name: upload base python to ProGet
if: ${{ inputs.deploy == 'upload' }}
shell: bash
Expand Down