From 6ccfc7feb90e50d1b4c5b112ceb1ec4ccf6836f1 Mon Sep 17 00:00:00 2001 From: MrBounty Date: Sun, 12 Jan 2025 19:08:34 +0100 Subject: [PATCH] Send back to true and remove .pdb from release --- .github/workflows/release.yml | 13 +++---------- lib/config.zig | 2 +- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a7c6592..82c66a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,21 +24,14 @@ jobs: run: | zig build release - - name: List directory contents - run: | - echo "Current directory:" - ls -R - echo "zig-out directory:" - ls -R zig-out - - name: Create zip files for release artifacts run: | mkdir -p zig-out/release/zips for file in zig-out/release/*; do - if [ -f "$file" ]; then - zip -j "zig-out/release/zips/${file##*/}.zip" "$file" + if [ -f "$file" ] && [[ "$(basename "$file")" != *.pdb ]]; then + zip -j "zig-out/release/zips/$(basename "$file").zip" "$file" fi - done + done - name: Upload release artifacts uses: ncipollo/release-action@v1 diff --git a/lib/config.zig b/lib/config.zig index 0446c18..894fd66 100644 --- a/lib/config.zig +++ b/lib/config.zig @@ -4,7 +4,7 @@ pub const CPU_CORE = 16; // Debug pub const PRINT_STATE = false; -pub const DONT_SEND = true; +pub const DONT_SEND = false; pub const DONT_SEND_ERROR = false; pub const RESET_LOG_AT_RESTART = false; // If true, will reset the log file at the start of the db, otherwise just keep adding to it