Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
frozenIceage authored Jul 19, 2024
1 parent 8822f1e commit 76e886b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
id: fetch-tarball
run: |
FILE_NAME="osc-tiny-${{ env.LATEST_TAG }}.tar.gz"
FILE_URL="https://files.pythonhosted.org/packages/source/o/osc-tiny/osc_tiny-${{ env.LATEST_TAG }}.tar.gz -O $FILE_NAME"
FILE_URL="https://files.pythonhosted.org/packages/source/o/osc-tiny/osc_tiny-${{ env.LATEST_TAG }}.tar.gz"
while [ ! -f "$FILE_NAME" ]; do
echo "File not found. Downloading..."
curl -O $FILE_URL
wget "$FILE_URL" -O "$FILE_NAME"
if [ ! -f "$FILE_NAME" ]; then
echo "Download failed. Waiting for 2 seconds before retrying..."
sleep 2
Expand Down

0 comments on commit 76e886b

Please sign in to comment.