Skip to content

Commit b721b38

Browse files
dneto0sssooonnnggg
authored andcommitted
github actions: Update actions/upload-artifact@v4 (#142)
chore: fixed format issue
1 parent 3b5b4bc commit b721b38

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
cmake --build .
4343
DESTDIR=../out cmake --install .
4444
45-
- uses: actions/upload-artifact@v3
45+
- uses: actions/upload-artifact@v4
4646
with:
47-
name: cppdap
48-
path: out/usr/local/
47+
name: cppdap-${{ matrix.CC }}
48+
path: out/usr/local/

src/socket.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,9 @@ Socket::Socket(const char* address, const char* port)
245245
return;
246246
}
247247
});
248-
if (failed)
248+
if (failed) {
249249
shared.reset();
250+
}
250251
}
251252
}
252253

0 commit comments

Comments
 (0)