chore(deps): update Cocoa SDK to v8.15.2 #429
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build" | |
on: | |
push: | |
branches: | |
- main | |
- release/** | |
pull_request: | |
jobs: | |
build: | |
name: Build Job ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest] | |
java: ["11"] | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
- name: "Set up Java: ${{ matrix.java }}" | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: "adopt" | |
- name: Cache Gradle packages | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
# Clean, build | |
- name: Make all | |
run: make all | |
env: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
# We stop gradle at the end to make sure the cache folders | |
# don't contain any lock files and are free to be cached. | |
- name: Make stop | |
run: make stop | |
- name: Archive packages | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.sha }} | |
if-no-files-found: error | |
path: | | |
./*/build/distributions/*.zip | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # pin@v3 | |
with: | |
name: sentry-kotlin-multiplatform |