Enable go list
Some checks failed
Build and Publish / build (push) Successful in 1m7s
Build and Publish / publish (push) Failing after 5s

This commit is contained in:
Ryan McGuire 2024-12-17 16:25:31 -05:00
parent b2506aba90
commit 426f810faf

View File

@ -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