File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,21 @@ jobs:
6464 *windows*)
6565 BIN_PATH=target/${{ matrix.target }}/release/devspace-sweeper.exe
6666 ARCHIVE_NAME=devspace-sweeper-${VERSION}-${{ matrix.target }}.zip
67+ if [ ! -f "$BIN_PATH" ]; then
68+ echo "Error: build artifact not found: $BIN_PATH" >&2
69+ exit 1
70+ fi
6771 cp "$BIN_PATH" "$OUTDIR/"
6872 cp README.md LICENSE "$OUTDIR/" || true
6973 (cd "$OUTDIR" && zip -r "${ARCHIVE_NAME}" .)
7074 ;;
7175 *)
7276 BIN_PATH=target/${{ matrix.target }}/release/devspace-sweeper
7377 ARCHIVE_NAME=devspace-sweeper-${VERSION}-${{ matrix.target }}.tar.gz
78+ if [ ! -f "$BIN_PATH" ]; then
79+ echo "Error: build artifact not found: $BIN_PATH" >&2
80+ exit 1
81+ fi
7482 cp "$BIN_PATH" "$OUTDIR/"
7583 cp README.md LICENSE "$OUTDIR/" || true
7684 # Avoid failing if files change during archiving
You can’t perform that action at this time.
0 commit comments