From 00155e361971f26dedb8c0e175dc1d347bf65e26 Mon Sep 17 00:00:00 2001 From: AzenKain Date: Wed, 8 Oct 2025 16:14:26 +0700 Subject: [PATCH] Add CI/CD --- .gitea/workflows/build.yml | 16 +++++++++++++++- .idea/deviceManager.xml | 13 +++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .idea/deviceManager.xml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 736ec96..3b6c7fc 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -22,7 +22,21 @@ jobs: run: chmod +x ./gradlew - name: Verify AAR File Integrity - run: unzip -t app/libs/firefly-go.aar || (echo "AAR file is corrupted! Fix it in the repo." && exit 1) + run: | + FILE="app/libs/firefly-go.aar" + if [ ! -f "$FILE" ]; then + echo "❌ File not found: $FILE" + exit 1 + fi + + echo "📄 File info:" + ls -lh "$FILE" + + echo "🖇 Check AAR content:" + unzip -l "$FILE" || (echo "❌ AAR file is corrupted! Fix it in the repo." && exit 1) + + echo "✅ AAR file seems OK" + - name: Clean Gradle run: ./gradlew clean diff --git a/.idea/deviceManager.xml b/.idea/deviceManager.xml new file mode 100644 index 0000000..91f9558 --- /dev/null +++ b/.idea/deviceManager.xml @@ -0,0 +1,13 @@ + + + + + + \ No newline at end of file