From 0f467e2cb80b1c329a47f976885b24cc9098a1bf Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 10 Dec 2024 09:35:10 +0800 Subject: [PATCH] Add unzip step for libv8 in CI workflows; comment out Codecov token usage --- .github/workflows/pr-test.yml | 14 ++++++++++++-- .github/workflows/unit-test.yml | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index ea7d18b4..36b60637 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -128,6 +128,16 @@ jobs: lfs: true path: v8go + - name: Unzip libv8 + run: | + files=$(find ./v8go -name "libv8*.zip") + for file in $files; do + dir=$(dirname "$file") # Get the directory where the ZIP file is located + echo "Extracting $file to directory $dir" + unzip -o -d $dir $file + rm -rf $dir/__MACOSX + done + - name: Checkout Demo WMS uses: actions/checkout@v3 with: @@ -225,8 +235,8 @@ jobs: - name: Codecov Report uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos + # with: + # token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos - name: "Comment on PR" uses: actions/github-script@v6 diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 17aeab45..f7a31f65 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -76,6 +76,16 @@ jobs: lfs: true path: v8go + - name: Unzip libv8 + run: | + files=$(find ./v8go -name "libv8*.zip") + for file in $files; do + dir=$(dirname "$file") # Get the directory where the ZIP file is located + echo "Extracting $file to directory $dir" + unzip -o -d $dir $file + rm -rf $dir/__MACOSX + done + - name: Checkout Demo WMS uses: actions/checkout@v4 with: @@ -171,5 +181,5 @@ jobs: - name: Codecov Report uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos + # with: + # token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos