github: only upload sysroot on release

Reduce CI build time
This commit is contained in:
osy
2020-04-15 14:31:02 -07:00
parent ff1d715461
commit 708e92e01d
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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 }}
+1 -1
View File
@@ -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