1
mirror of https://github.com/R2Northstar/Northstar synced 2025-11-15 13:07:35 +01:00

Compare commits

...

2 Commits

Author SHA1 Message Date
GeckoEidechse
9b77206591 feat: Add debug prints to wait script 2023-11-02 16:35:53 +01:00
GeckoEidechse
de87f41b45 Delete bash scripts in project root as well (#578)
Delete bash scripts in project root as well to prevent wait script from being included in release files
2023-11-02 13:32:13 +01:00
2 changed files with 4 additions and 1 deletions

View File

@@ -82,7 +82,7 @@ jobs:
- name: Cleanup root Northstar repository files
working-directory: northstar
run: |
rm -rf .git .github .gitignore *.md LICENSE thunderstore .ci.env.example
rm -rf .git .github .gitignore *.md LICENSE thunderstore .ci.env.example *.sh
- name: Upload
uses: actions/upload-artifact@v3
with:

View File

@@ -9,9 +9,12 @@ fi
url="https://github.com/R2Northstar/NorthstarLauncher/releases/download/$1/northstar-launcher.zip"
wait_time_seconds=60
echo "Checking $url"
# Loop until the response code changes
while true; do
response=$(curl --silent --output /dev/null --write-out "%{http_code}" $url)
echo "Got response $response"
if [ $response -eq 404 ]; then
echo "Response is 404. Retrying in $wait_time_seconds seconds."
sleep $wait_time_seconds