Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
android: ${{ steps.filter.outputs.android }}
steps:
- uses: actions/checkout@v5
- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@v4
id: filter
with:
filters: |
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
run: bash tool/dev/build.sh android

- name: Upload Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: DPIP-Android-Release
path: build/app/outputs/flutter-apk/*.apk
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
ios: ${{ steps.filter.outputs.ios }}
steps:
- uses: actions/checkout@v5
- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@v4
id: filter
with:
filters: |
Expand Down Expand Up @@ -66,9 +66,16 @@ jobs:
# DerivedData is never consulted for packages and caching it stored
# nothing. Losing this directory is what makes a launch print fifteen
# "Fetching from … (cached)" lines and cost 19-32 s.
#
# The DerivedData line is release.yml's, whose xcodebuild archive does
# clone there; nothing in this job writes it. It is listed so the two
# lists match line for line: a cache entry's version is a hash of these
# paths, and only an identical list lets this job restore the entry
# main saved instead of storing a fresh ~880 MB copy per pull request.
path: |
~/Library/Caches/org.swift.swiftpm
build/ios/SourcePackages
~/Library/Developer/Xcode/DerivedData/**/SourcePackages
key: ${{ runner.os }}-spm-${{ hashFiles('ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
Expand All @@ -94,7 +101,7 @@ jobs:
zip -qr DPIP.ipa Payload

- name: Upload Artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: DPIP-iOS
path: |
Expand Down
19 changes: 15 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:
# precise key costs one full download on a dependency change and is
# correct every time.
- name: Cache pub packages
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.pub-cache
key: ${{ runner.os }}-pub-${{ hashFiles('pubspec.lock') }}
Expand All @@ -170,12 +170,23 @@ jobs:
# (there is no Podfile). Uncached, every release re-clones and rebuilds
# every package before the app's own code is even compiled — on the
# runner that bills at ten times the Linux rate.
#
# Both clone directories, because the build below uses both: Flutter's
# step clones into build/ios/SourcePackages (it always passes
# -clonedSourcePackagesDirPath), and the xcodebuild archive after it,
# which does not, clones into DerivedData.
#
# The list is ios.yml's, line for line, and has to stay that way. A cache
# entry's version is a hash of these paths, so a different list is a
# different cache under the same key: every pull request missed the one
# main saved here and stored a fresh ~880 MB copy of its own.
- name: Cache Swift packages
if: matrix.platform == 'ios'
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/Library/Caches/org.swift.swiftpm
build/ios/SourcePackages
~/Library/Developer/Xcode/DerivedData/**/SourcePackages
key: ${{ runner.os }}-spm-${{ hashFiles('ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved') }}
restore-keys: |
Expand Down Expand Up @@ -377,7 +388,7 @@ jobs:
if: always() && matrix.platform == 'ios'
run: rm -rf "$RUNNER_TEMP/private_keys"

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v6
with:
name: dpip-${{ matrix.platform }}
path: DPIP-*.*
Expand All @@ -393,7 +404,7 @@ jobs:
with:
fetch-depth: 0

- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v7
with:
path: artifacts
merge-multiple: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Get PR context
id: pr-context
if: github.event_name == 'issue_comment'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
// For issue_comment events, resolve PR base/head so the action
Expand Down