Skip to content

Commit

Permalink
[CI] Artifact build dir. Don't tar artifacts, infra already compresse…
Browse files Browse the repository at this point in the history
…s them
  • Loading branch information
ViliusSutkus89 committed Oct 31, 2023
1 parent d71be4f commit 98a0526
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 98a0526

Please sign in to comment.