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
7 changes: 3 additions & 4 deletions .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
name: Update Dependencies

on:
# Run every day.
schedule:
- cron: '0 3 * * *'
# And on on every PR merge so we get the updated dependencies ASAP, and to make sure the changelog doesn't conflict.gi
push:
branches:
- main

jobs:
cocoa:
uses: getsentry/github-workflows/.github/workflows/updater.yml@v3
uses: getsentry/github-workflows/.github/workflows/updater.yml@v2
with:
path: scripts/update-cocoa.sh
name: Cocoa SDK
runs-on: macos-latest
secrets:
api-token: ${{ secrets.CI_DEPLOY_KEY }}

java:
uses: getsentry/github-workflows/.github/workflows/updater.yml@v3
uses: getsentry/github-workflows/.github/workflows/updater.yml@v2
with:
path: scripts/update-java.sh
name: Java SDK
secrets:
api-token: ${{ secrets.CI_DEPLOY_KEY }}
4 changes: 4 additions & 0 deletions scripts/update-cocoa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ set-version)
newValue="${sample_podspec_var_name}'$2'"
echo "${sample_podspec_content/${sample_podspec_whole_match}/$newValue}" >$sample_podspec_file

# Generate dummy framework first (required for pod update to work)
echo "Generating dummy framework for shared module..."
./gradlew :sentry-samples:kmp-app-cocoapods:shared:generateDummyFramework

# Run pod update in the sample iOS app directory to update Podfile.lock
echo "Running pod update in $sample_ios_app_dir..."
(cd $sample_ios_app_dir && pod update)
Expand Down