mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 10:13:05 +00:00
test versionings
This commit is contained in:
parent
5c7ac46249
commit
893276cbb8
1 changed files with 1 additions and 1 deletions
2
.github/workflows/publish-to-docker.yml
vendored
2
.github/workflows/publish-to-docker.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
|||
# Function to check if version exists in a repository
|
||||
check_version() {
|
||||
local repo=$1
|
||||
local status_code=$(curl -s -o /dev/null -w "%{http_code}" "https://$repo.org/pypi/llama-stack/${{ inputs.version }}")
|
||||
local status_code=$(curl -s -o /dev/null -w "%{http_code}" "https://$repo.org/pypi/llama-stack/${{ steps.version.outputs.version }}")
|
||||
return $([ "$status_code" -eq 200 ])
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue