Skip to content

- fixes workflow so we only release preview images when we find entries in release notes so it's aligned with ADO #425

- fixes workflow so we only release preview images when we find entries in release notes so it's aligned with ADO

- fixes workflow so we only release preview images when we find entries in release notes so it's aligned with ADO #425

name: Swift abstractions
on:
workflow_dispatch:
push:
branches: [ main ]
paths: ['abstractions/swift/**', '.github/workflows/**']
pull_request:
paths: ['abstractions/swift/**', '.github/workflows/**']
jobs:
build:
runs-on: ubuntu-latest
env:
relativePath: ./abstractions/swift
steps:
- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v1
with:
swift-version: '5.7'
- name: Build SDK project
run: swift build
working-directory: ${{ env.relativePath }}
- name: Run unit tests
run: swift test
working-directory: ${{ env.relativePath }}