-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (40 loc) · 968 Bytes
/
xcframework.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: XCFramework
on:
workflow_dispatch:
push:
branches:
- '**'
tags-ignore:
- '**'
paths-ignore:
- '.github/**' # Ignore all files under '.github'
- '!.github/workflows/xcframework.yml' # Except for this workflow
- '.gitignore'
- '.remarkrc'
- 'codecov.yml'
- 'KeyValueObservation.podspec'
- 'LICENSE'
- 'README.md'
- 'Tests/**'
jobs:
build:
name: Build
runs-on: macOS-11
env:
TMPDIR: /tmp/.keyvalueobservation.xcframework.build
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup Environment
run: |
mkdir -p "${TMPDIR}/Output"
mkdir -p "${TMPDIR}/Logs"
- name: Build
run: |
./scripts/xcframework.sh --build-dir "${TMPDIR}"
- name: Upload Logs
uses: actions/upload-artifact@v2
if: always()
with:
name: BuildLogs
path: ${{ env.TMPDIR }}/Logs/*.log