Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Nov 25, 2024
1 parent b8a0499 commit 451834a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/publish-studio-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ jobs:
else
echo "Success: Versions match!"
fi
- name: Check if public plugin repository exists for current version
run: |
URL="https://raw.githubusercontent.com/one-ware/OneWare.PublicPackages/${{ steps.get-props-version.outputs.info }}/oneware-packages.json"
echo "Checking URL: $URL"
response=$(curl -s -w "%{http_code}" -o response.json "$URL")
if [ "$response" -ne 200 ]; then
echo "Error: Failed to fetch URL. HTTP status code: $response"
exit 1
fi
python -c "import json; json.load(open('response.json'))" && echo "Valid JSON" || exit 1
# - name: Check if public plugin repository exists for current version
# run: |
# URL="https://raw.githubusercontent.com/one-ware/OneWare.PublicPackages/${{ steps.get-props-version.outputs.info }}/oneware-packages.json"
# echo "Checking URL: $URL"
# response=$(curl -s -w "%{http_code}" -o response.json "$URL")
# if [ "$response" -ne 200 ]; then
# echo "Error: Failed to fetch URL. HTTP status code: $response"
# exit 1
# fi
#
# python -c "import json; json.load(open('response.json'))" && echo "Valid JSON" || exit 1
- uses: ncipollo/release-action@v1
with:
tag: ${{ steps.get-props-version.outputs.info }}
Expand Down

0 comments on commit 451834a

Please sign in to comment.