From 98a0526274aee76fb5729827c50bb4c48f8877fc Mon Sep 17 00:00:00 2001 From: Vilius Sutkus '89 Date: Tue, 31 Oct 2023 20:00:59 +0200 Subject: [PATCH] [CI] Artifact build dir. Don't tar artifacts, infra already compresses them --- .github/workflows/build.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d989ca6..da24014 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,15 +34,24 @@ jobs: - run: ./gradlew ${{ inputs.package }}:publishToMavenLocal -PndkPath=${{ env.ANDROID_SDK_ROOT }}/ndk/${{ matrix.ndk }} -PlibraryType=${{ matrix.libraryType }} - uses: actions/upload-artifact@v3 + name: Artifact logs + if: always() with: name: "${{ inputs.package }}-${{ matrix.ndk }}-${{ matrix.libraryType }}-logs" path: "${{ inputs.package }}/build/port/logs" if-no-files-found: error - - run: tar -cvf maven-local.tar ~/.m2 - uses: actions/upload-artifact@v3 + name: Artifact build + if: always() with: - name: "${{ inputs.package }}-${{ matrix.ndk }}-${{ matrix.libraryType }}.maven-local.tar" - path: maven-local.tar + name: "${{ inputs.package }}-${{ matrix.ndk }}-${{ matrix.libraryType }}-build" + path: "${{ inputs.package }}/build" if-no-files-found: error + - uses: actions/upload-artifact@v3 + name: Artifact MavenLocal + with: + name: "${{ inputs.package }}-${{ matrix.ndk }}-${{ matrix.libraryType }}-mavenLocal" + path: ~/.m2 + if-no-files-found: error