From 4e3a488e17dbb25112c1485c4219861fb88b813e Mon Sep 17 00:00:00 2001 From: leleliu008 Date: Thu, 16 Jan 2025 09:35:40 +0800 Subject: [PATCH] optimized --- .github/workflows/publish-core.yml | 55 ++++++++++++++---------------- 1 file changed, 25 insertions(+), 30 deletions(-) diff --git a/.github/workflows/publish-core.yml b/.github/workflows/publish-core.yml index 22f6d90..5b59350 100644 --- a/.github/workflows/publish-core.yml +++ b/.github/workflows/publish-core.yml @@ -88,9 +88,9 @@ jobs: - run: | set -ex - for item in *.c + for f in *.c do - gcc -std=c99 -Os -flto -s -static -o "${item%.c}.exe" "$item" + gcc -std=c99 -Os -flto -s -static -o "${f%.c}.exe" "$f" done - run: ./pack-ndk-pkg-core ${{ needs.base.outputs.release-version }} linux-x86_64 @@ -114,49 +114,44 @@ jobs: target-version: [35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21] steps: + - uses: actions/checkout@v4 + + - run: | + cat > ndk-pkg-core.yml <