-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (30 loc) · 909 Bytes
/
release.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
name: Release Processing
on:
release:
types:
- published
- updated
jobs:
publish-docs:
runs-on: macos-latest
steps:
- run: sudo xcode-select -s /Applications/Xcode_12.1.app/Contents/Developer
- uses: dawidd6/action-get-tag@v1
id: get-tag
- uses: actions/checkout@v2
- uses: actions/cache@v2.1.4
with:
path: .build
key: ${{runner.os}}-spm-${{hashFiles('**/Package.resolved')}}
restore-keys: |
${{runner.os}}-spm-
- uses: sersoft-gmbh/swifty-docs-action@v1
with:
module-version: ${{steps.get-tag.outputs.tag}}
output: docs
xcodebuild-destination: platform=iOS Simulator,OS=latest,name=iPhone 11 Pro
- uses: crazy-max/ghaction-github-pages@v2.3.0
with:
build_dir: docs
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}