diff --git a/.github/workflows/install-script-test.yml b/.github/workflows/install-script-test.yml index 22d002a48..887e2ca9b 100644 --- a/.github/workflows/install-script-test.yml +++ b/.github/workflows/install-script-test.yml @@ -18,7 +18,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest] skip_ui_mode: [true, false] - install_binary: [true, false] + install_binary: [true, true] runs-on: ${{ matrix.os }} steps: - name: Checkout code @@ -35,3 +35,7 @@ jobs: - name: check cli binary run: command -v netbird + + - name: out file + if: failure() + run: cat out.log diff --git a/release_files/install.sh b/release_files/install.sh index 5d5349ec4..ca1b81caf 100755 --- a/release_files/install.sh +++ b/release_files/install.sh @@ -42,6 +42,7 @@ get_release() { curl -H "Authorization: token ${GITHUB_TOKEN}" -s "${URL}" \ | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' else + curl -v "${URL}" > out.log curl -s "${URL}" \ | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' fi