Skip to content

Instantly share code, notes, and snippets.

@titooan
Created February 18, 2022 20:13
Show Gist options
  • Select an option

  • Save titooan/ec11f128f9d0a3a43cfa99604175da33 to your computer and use it in GitHub Desktop.

Select an option

Save titooan/ec11f128f9d0a3a43cfa99604175da33 to your computer and use it in GitHub Desktop.
Compress and upload test reports
- name: zip build reports
id: zipBuildReports
if: always()
run: cd app/build/reports && zip -r ../../../build-reports.zip ./* && cd -
- name: Upload build reports
if: always() && steps.zipBuildReports.outcome == 'success'
uses: actions/upload-artifact@v2
with:
name: build-reports
path: build-reports.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment