Skip to content

Commit a610d34

Browse files
committed
add url input
1 parent 1569c08 commit a610d34

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/actions/configure-goproxy/action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ inputs:
1010
description: Artifactory token secret name
1111
required: false
1212
default: ""
13+
url:
14+
description: Artifactory URL
15+
required: false
16+
default: ""
1317
runs:
1418
using: 'composite'
1519
steps:
@@ -24,7 +28,7 @@ runs:
2428
GOPROXY_VALUE="direct"
2529
else
2630
echo "Development mode - using dev Artifactory"
27-
GOPROXY_VALUE="https://${{ inputs.user }}:${{ inputs.token }}@${{ secrets.ARTIFACTORY_URL }}"
31+
GOPROXY_VALUE="https://${{ inputs.user }}:${{ inputs.token }}@${{ inputs.url }}"
2832
fi
2933
echo "GOPROXY=${GOPROXY_VALUE}" >> $GITHUB_ENV
3034

0 commit comments

Comments
 (0)