mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
WF
This commit is contained in:
@@ -30,7 +30,6 @@ jobs:
|
||||
jq -r '.projects[] | "\(.id) \(.name)"' project_json | while read -r id name; do
|
||||
version=$(curl -H "X-Key: $token" \
|
||||
https://api.newreleases.io/v1/projects/$id/latest-release)
|
||||
ls -l
|
||||
echo "Project Name: $name, Project ID: $id, Version: $version"
|
||||
jq -n --arg name "$name" --arg version "$version" '{name: $name, version: $version}' > json/versions.json
|
||||
done
|
||||
@@ -41,4 +40,4 @@ jobs:
|
||||
git config --global user.name "GitHub Actions"
|
||||
git add json/versions.json
|
||||
git commit -m "Add new script"
|
||||
git push
|
||||
git push --force
|
||||
|
||||
Reference in New Issue
Block a user