Skip to content

Commit 97e791d

Browse files
Merge pull request #29 from ccdc-opensource/DO-1412-remove-artifactory
DO-1412-remove artifactory
2 parents 361cb59 + c8ac392 commit 97e791d

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

.github/workflows/build-base-python.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy
66
inputs:
77
deploy:
88
type: choice
9-
description: 'Whether to upload base python build to artifactory'
9+
description: 'Whether to upload base python build to Proget'
1010
options:
1111
- 'no-upload'
1212
- 'upload'
@@ -67,7 +67,7 @@ jobs:
6767
uses: actions/setup-python@v6
6868
if: ${{ needs.setup.outputs.python == 'python' }}
6969
with:
70-
python-version: '3.9'
70+
python-version: '3.11'
7171

7272
- name: Set up Python environment
7373
run: |
@@ -87,22 +87,6 @@ jobs:
8787
echo "archive_path=$archive_path" >> $GITHUB_ENV
8888
echo "shortversion=$shortversion" >> $GITHUB_ENV
8989
90-
- name: Set up JFrog CLI
91-
if: ${{ inputs.deploy == 'upload' }}
92-
uses: jfrog/setup-jfrog-cli@v4
93-
env:
94-
JF_ENV_1: ${{ secrets.ARTIFACTORY_GH_CCDC_3RDPARTY_PYTHON_INTERPRETERS_READ_WRITE_EXPORT }}
95-
96-
- name: Upload base python to Artifactory
97-
if: ${{ inputs.deploy == 'upload' }}
98-
shell: bash
99-
run: |
100-
# Upload the base python to Artifactory
101-
jf c use gh-ccdc-3rdparty-python-interpreters-read-write
102-
jfrog rt upload --flat \
103-
"${{ env.archive_path }}/${{ env.archive_filename }}" \
104-
"ccdc-3rdparty-python-interpreters/base_python/${{ env.shortversion }}/"
105-
10690
- name: upload base python to ProGet
10791
if: ${{ inputs.deploy == 'upload' }}
10892
shell: bash

0 commit comments

Comments
 (0)