From 708e92e01dcdbeb8c3c8c5fdc6c6f48f2d2927ba Mon Sep 17 00:00:00 2001 From: osy Date: Wed, 15 Apr 2020 14:30:51 -0700 Subject: [PATCH] github: only upload sysroot on release Reduce CI build time --- .github/workflows/build.yml | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3758ca63..dea09581 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,10 +50,12 @@ jobs: rm -f /usr/local/lib/pkgconfig/*.pc ./scripts/build_dependencies.sh -a ${{ matrix.arch }} - name: Compress Sysroot + if: steps.cache-sysroot.outputs.cache-hit != 'true' run: | mkdir sysroot_tar tar cf sysroot_tar/sysroot.tgz sysroot-${{ matrix.arch }} - name: Upload Sysroot + if: steps.cache-sysroot.outputs.cache-hit != 'true' uses: actions/upload-artifact@v1 with: name: Sysroot-${{ matrix.arch }} diff --git a/README.md b/README.md index 327b983f..f094385d 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ Apple does not permit any apps that have interpreted or generated code therefore UTM is distributed under the permissive Apache 2.0 license. However, it uses several (L)GPL components. Most are dynamically linked but the gstreamer plugins are statically linked and parts of the code are taken from qemu. Please be aware of this if you intend on redistributing this application. - [1]: https://github.com/utmapp/UTM/actions?query=workflow%3ABuild + [1]: https://github.com/utmapp/UTM/actions?query=event%3Arelease+workflow%3ABuild [2]: https://dantheman827.github.io/ios-app-signer/ [3]: https://github.com/utmapp/UTM/releases [4]: screen.png