github-actions: use GH app to manage the projects (#236) #395
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: macos | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
permissions: | |
contents: read | |
jobs: | |
macos: | |
runs-on: macos-12 | |
steps: | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: '14.0' | |
- uses: actions/checkout@v4 | |
- name: Run build | |
run: .ci/scripts/build.sh | |
- name: Run test | |
run: xcodebuild -scheme apm-agent-ios-Package -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8' test | |
- name: Run package snapshots | |
run: .ci/scripts/package.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: packages | |
path: | | |
dist/** |