mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-23 04:34:27 +00:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5173763c07 | ||
|
|
5a8f25faed | ||
|
|
d1175e4dd9 |
No files matched your search
@@ -26,9 +26,12 @@ jobs:
|
|||||||
name: Build and Test Sparkle
|
name: Build and Test Sparkle
|
||||||
runs-on: ${{ matrix.macos }}
|
runs-on: ${{ matrix.macos }}
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -80,11 +83,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Post Analyzed Warnings
|
- name: Post Analyzed Warnings
|
||||||
if: ${{ success() && matrix.run-analyzer && github.event_name == 'pull_request' && steps.findwarnings.outputs.analyzestatus == '0' }}
|
if: ${{ success() && matrix.run-analyzer && github.event_name == 'pull_request' && steps.findwarnings.outputs.analyzestatus == '0' }}
|
||||||
uses: mshick/add-pr-comment@v1
|
uses: mshick/add-pr-comment@v2
|
||||||
with:
|
with:
|
||||||
allow-repeats: false
|
allow-repeats: false
|
||||||
repo-token: ${{ secrets.BOT_PERSONAL_ACCESS_TOKEN }}
|
|
||||||
repo-token-user-login: 'Sparkle-Bot'
|
|
||||||
message: "``` ${{ steps.warnings.outputs.content }} ```"
|
message: "``` ${{ steps.warnings.outputs.content }} ```"
|
||||||
|
|
||||||
- name: Build Release Distribution
|
- name: Build Release Distribution
|
||||||
@@ -94,13 +95,13 @@ jobs:
|
|||||||
xcodebuild build -project Sparkle.xcodeproj -scheme Distribution -configuration Release -derivedDataPath build
|
xcodebuild build -project Sparkle.xcodeproj -scheme Distribution -configuration Release -derivedDataPath build
|
||||||
- name: Archive Test Results
|
- name: Archive Test Results
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: build-logs
|
name: build-logs
|
||||||
path: build/Logs
|
path: build/Logs
|
||||||
- name: Upload Distribution
|
- name: Upload Distribution
|
||||||
if: ${{ success() && matrix.upload-dist }}
|
if: ${{ success() && matrix.upload-dist }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Sparkle-distribution-${{ matrix.xcode }}.tar.xz
|
name: Sparkle-distribution-${{ matrix.xcode }}.tar.xz
|
||||||
path: build/Build/Products/Release/sparkle-dist.tar.xz
|
path: build/Build/Products/Release/sparkle-dist.tar.xz
|
||||||
-3
@@ -117,12 +117,9 @@
|
|||||||
{
|
{
|
||||||
if (_showingUserInitiatedProgress) {
|
if (_showingUserInitiatedProgress) {
|
||||||
_showingUserInitiatedProgress = NO;
|
_showingUserInitiatedProgress = NO;
|
||||||
#pragma clang diagnostic push
|
|
||||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
|
||||||
if ([_userDriver respondsToSelector:@selector(dismissUserInitiatedUpdateCheck)]) {
|
if ([_userDriver respondsToSelector:@selector(dismissUserInitiatedUpdateCheck)]) {
|
||||||
[_userDriver dismissUserInitiatedUpdateCheck];
|
[_userDriver dismissUserInitiatedUpdateCheck];
|
||||||
}
|
}
|
||||||
#pragma clang diagnostic pop
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user