From 02c95184156cf5bd3b1feeb11a804945b0e10c29 Mon Sep 17 00:00:00 2001 From: Peace-Maker Date: Sun, 15 Dec 2024 10:00:12 +0100 Subject: [PATCH] Fix uploading symbols --- .github/workflows/main.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f91a251..447e7dc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -158,13 +158,12 @@ jobs: working-directory: sourcetvmanager/build shell: bash run: | - for f in sourcetvmanager.ext.2.*; do - if [ -f "$f/$f.pdb" ]; then - dump_syms.exe $f/$f.pdb > $f.syms - else - dump_syms $f/$f.so > $f.syms + for f in $(find sourcetvmanager.ext.2.* -type f -print | grep \/sourcetvmanager\.ext\.2\.*\.); do + if ! [[ $f == *.so || $f == *.pdb ]]; then + continue fi - curl --data-binary @$f.syms https://crash.limetech.org/symbols/submit + dump_syms $f > $(basename $f).syms + curl --data-binary @$(basename $f).syms https://crash.limetech.org/symbols/submit done - name: Uploading package