File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -84,16 +84,20 @@ jobs:
84
84
85
85
- name : Build conquest python
86
86
run : |
87
- ${{ needs.setup.outputs.python }} build_conquest_python.py
87
+ output=$(${{ needs.setup.outputs.python }} build_conquest_python.py | tail -n 1)
88
+ archive_filename=$(echo $output | awk '{print $2}')
89
+ archive_path=$(echo $output | awk '{print $NF}')
90
+ echo "archive_filename=$archive_filename" >> $GITHUB_ENV
91
+ echo "archive_path=$archive_path" >> $GITHUB_ENV
88
92
89
93
- name : Set up JFrog CLI
90
- if : ${{ inputs.deploy == 'upload' }}
94
+ # if: ${{ inputs.deploy == 'upload' }}
91
95
uses : jfrog/setup-jfrog-cli@v4
92
96
env :
93
97
JF_ENV_1 : ${{ secrets.ARTIFACTORY_GH_CCDC_3RDPARTY_PYTHON_INTERPRETERS_READ_WRITE_EXPORT }}
94
98
95
99
- name : Upload conquest python to Artifactory
96
- if : ${{ inputs.deploy == 'upload' }}
100
+ # if: ${{ inputs.deploy == 'upload' }}
97
101
shell : bash
98
102
run : |
99
103
# Upload the conquest python to Artifactory
Original file line number Diff line number Diff line change @@ -138,8 +138,8 @@ def output_base_name(self):
138
138
self .name ,
139
139
self .version ,
140
140
]
141
- if 'BUILD_BUILDNUMBER ' in os .environ :
142
- components .append (os .environ ['BUILD_BUILDNUMBER ' ])
141
+ if 'GITHUB_RUN_NUMBER ' in os .environ :
142
+ components .append (os .environ ['GITHUB_RUN_NUMBER ' ])
143
143
else :
144
144
components .append ('do-not-use-me-developer-version' )
145
145
components .append (self .platform )
You can’t perform that action at this time.
0 commit comments