Skip to content

chore: import 1.6.0 code #146

chore: import 1.6.0 code

chore: import 1.6.0 code #146

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: macos-12
steps:
- name: Checkout self
uses: actions/checkout@v4
with:
path: opentelemetry-swift-packages
- name: Checkout opentelemetry-swift
uses: actions/checkout@v4
with:
repository: open-telemetry/opentelemetry-swift
path: opentelemetry-swift
ref: main
fetch-depth: 0
fetch-tags: true
- name: Build
working-directory: ./opentelemetry-swift-packages
run: |
./scripts/build.sh --source ../opentelemetry-swift --target OpenTelemetryApi
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: OpenTelemetryApi
path: |
./opentelemetry-swift-packages/artifacts/OpenTelemetryApi.zip
if-no-files-found: error
spm:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test
run: |
swift test | xcbeautify