Enable go list
This commit is contained in:
parent
b2506aba90
commit
426f810faf
@ -73,7 +73,7 @@ jobs:
|
|||||||
TAG_NAME: ${{ github.ref_name }} # Use the pushed tag name
|
TAG_NAME: ${{ github.ref_name }} # Use the pushed tag name
|
||||||
run: |
|
run: |
|
||||||
if [[ "$TAG_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
if [[ "$TAG_NAME" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||||
echo GOPROXY=proxy.golang.org go list -m libretechconsulting.com/${GITHUB_REPOSITORY}@$TAG_NAME
|
GOPROXY=proxy.golang.org go list -m gitea.libretechconsulting.com/${GITHUB_REPOSITORY}@$TAG_NAME
|
||||||
else
|
else
|
||||||
echo "Error: Invalid tag format '$TAG_NAME'. Expected 'vX.X.X'."
|
echo "Error: Invalid tag format '$TAG_NAME'. Expected 'vX.X.X'."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user