mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-29 05:24:26 +00:00
Upload release distribution only for Xcode 12 builds currently
This commit is contained in:
1 parent
3ded119af5
commit
2179eb1e39
1 file changed
+3
-1
@@ -14,8 +14,10 @@ jobs:
|
||||
include:
|
||||
- xcode: 'xcode12.2'
|
||||
xcode-path: '/Applications/Xcode_12.2.app/Contents/Developer'
|
||||
upload-dist: true
|
||||
- xcode: 'xcode11.7'
|
||||
xcode-path: '/Applications/Xcode_11.7.app/Contents/Developer'
|
||||
upload-dist: false # No arm64 slice, so no upload
|
||||
|
||||
name: Build and Test Sparkle
|
||||
runs-on: macos-10.15
|
||||
@@ -57,7 +59,7 @@ jobs:
|
||||
name: build-logs
|
||||
path: build/Logs
|
||||
- name: Upload Distribution
|
||||
if: success()
|
||||
if: ${{ success() && matrix.upload-dist }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Sparkle-distribution-${{ matrix.xcode }}.tar.xz
|
||||
|
||||
Reference in new issue
Block a user