File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 5454 - name : Configure GOPROXY
5555 id : goproxy
5656 run : |
57- if [[ "${{ secrets.ARTIFACTORY_USER }}" == "" ]]; then
58- echo "No Artifactory secrets available - using direct GOPROXY"
59- GOPROXY_VALUE="direct"
60- elif [[ "${{ inputs.is_production_release }}" == "true" ]] || [[ "${{ github.event_name }}" == "push" && "${{ github.ref }}" == "refs/heads/main" ]]; then
61- echo "Production mode - using production Artifactory"
57+ echo "Temp use prod artifactory"
6258 GOPROXY_VALUE="https://${{ secrets.ARTIFACTORY_USER }}:${{ secrets.ARTIFACTORY_TOKEN }}@${{ secrets.ARTIFACTORY_ENDPOINT }}"
63- else
64- echo "Development mode - using dev Artifactory"
65- GOPROXY_VALUE="https://${{ secrets.ARTIFACTORY_USER }}:${{ secrets.ARTIFACTORY_TOKEN }}@${{ secrets.ARTIFACTORY_DEV_ENDPOINT }}"
66- fi
6759 echo "goproxy=${GOPROXY_VALUE}" >> $GITHUB_OUTPUT
6860 echo "GOPROXY=${GOPROXY_VALUE}" >> $GITHUB_ENV
6961
You can’t perform that action at this time.
0 commit comments