Use latest url

This commit is contained in:
Arnaud 2025-10-14 14:22:03 +02:00
parent 66f1033a31
commit a3dfccd141
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -18,8 +18,8 @@ BIN=example
all: run
fetch:
@echo "Fetching libcodex from GitHub Actions"
@curl -fSL --create-dirs -o $(LIBS_DIR)/codex-${OS}-${ARCH}.zip ${VERSIONED_URL}
@echo "Fetching libcodex from GitHub Actions: ${LATEST_URL}"
@curl -fSL --create-dirs -o $(LIBS_DIR)/codex-${OS}-${ARCH}.zip ${LATEST_URL}
@unzip $(LIBS_DIR)/codex-linux-amd64.zip -d $(LIBS_DIR)
@rm -f $(LIBS_DIR)/*.zip