-
-
Notifications
You must be signed in to change notification settings - Fork 621
43 lines (37 loc) · 1.07 KB
/
jazzy.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
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: rake docs
on:
workflow_call:
workflow_dispatch:
inputs:
ref:
description: 'Ref to build (branch, tag or SHA)'
required: false
default: 'master'
push:
branches: [ "master" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
update_docs:
runs-on: macos-14
steps:
- name: Set Xcode 15.3.0
run: sudo xcode-select -s /Applications/Xcode_15.3.0.app/Contents/Developer
- name: Print Current Xcode
run: xcode-select -p
- uses: actions/checkout@v3
- name: Update Docs
run: |
brew install coreutils
brew install sourcekitten
bundle install
rake docs
- uses: EndBug/[email protected]
with:
add: '.'
message: 'Update Docs'
committer_name: GitHub Actions
committer_email: [email protected]