Skip to content

Commit

Permalink
[SkipCI] Artifact full builds only for failed builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Nov 16, 2023
1 parent 00d256d commit 504de47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
path: "${{ inputs.package }}/build/port/logs"

- run: tar --use-compress-program=lz4 -cf "${{ inputs.package }}-${{ inputs.version }}-${{ matrix.ndk }}-${{ matrix.libraryType }}-build.tar.lz4" "${{ inputs.package }}/build"
if: always()
if: failure()
- uses: actions/upload-artifact@v3
name: Artifact build
if: always()
if: failure()
with:
name: "${{ inputs.package }}-${{ inputs.version }}-${{ matrix.ndk }}-${{ matrix.libraryType }}-build.tar.lz4"
path: "${{ inputs.package }}-${{ inputs.version }}-${{ matrix.ndk }}-${{ matrix.libraryType }}-build.tar.lz4"
Expand Down

0 comments on commit 504de47

Please sign in to comment.