Skip to content

Commit 6f6c8fc

Browse files
DO-1412-remove artifactory
1 parent 31ab0bf commit 6f6c8fc

File tree

1 file changed

+4
-20
lines changed

1 file changed

+4
-20
lines changed

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

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ name: Build Conquest Python
44
on: # yamllint disable-line rule:truthy
55
workflow_dispatch:
66
inputs:
7-
artifactory-push:
8-
description: "Push result to Artifactory"
7+
proget-push:
8+
description: "Push result to ProGet"
99
default: false
1010
type: boolean
1111
platforms:
@@ -97,31 +97,15 @@ jobs:
9797
echo "archive_path=$archive_path" >> $GITHUB_ENV
9898
9999
- name: Store conquest python as build artifact
100-
if: ${{ !inputs.artifactory-push }}
100+
if: ${{ !inputs.proget-push }}
101101
uses: actions/upload-artifact@v5
102102
with:
103103
retention-days: 1
104104
path: "${{ env.archive_path }}/${{ env.archive_filename }}"
105105
name: ${{ env.archive_filename }}
106106

107-
- name: Set up JFrog CLI
108-
if: ${{ inputs.artifactory-push }}
109-
uses: jfrog/setup-jfrog-cli@v4
110-
env:
111-
JF_ENV_1: ${{ secrets.ARTIFACTORY_GH_CCDC_3RDPARTY_PYTHON_INTERPRETERS_READ_WRITE_EXPORT }}
112-
113-
- name: Upload conquest python to Artifactory
114-
if: ${{ inputs.artifactory-push }}
115-
shell: bash
116-
run: |
117-
# Upload the conquest python to Artifactory
118-
jf c use gh-ccdc-3rdparty-python-interpreters-read-write
119-
jfrog rt upload --flat \
120-
"${{ env.archive_path }}/${{ env.archive_filename }}" \
121-
"ccdc-3rdparty-python-interpreters/conquest_python/2.7/"
122-
123107
- name: Upload conquest python to ProGet
124-
if: ${{ inputs.artifactory-push }}
108+
if: ${{ inputs.proget-push }}
125109
shell: bash
126110
env:
127111
PROGET_API_KEY: ${{ secrets.PROGET_API_KEY }}

0 commit comments

Comments
 (0)