-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (48 loc) · 1.42 KB
/
ci-snapshot.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
46
47
48
49
50
51
52
53
54
55
name: Antibytes CI - Latest Version
on:
push:
branches:
- main
- release/*
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
build-linux:
uses: bitpogo/workflows/.github/workflows/shared-build-linux.yml@main
concurrency:
group: build-linux
cancel-in-progress: true
build-macos:
uses: bitpogo/workflows/.github/workflows/shared-build-macos.yml@main
concurrency:
group: build-macos
cancel-in-progress: true
check:
needs: [ build-macos, build-linux ]
uses: bitpogo/workflows/.github/workflows/shared-test-kmp.yml@main
with:
platforms: "['ios', 'macos', 'tvos', 'watchos', 'linux-all', 'mingw']"
concurrency:
group: check
cancel-in-progress: true
docs:
needs: check
uses: bitpogo/workflows/.github/workflows/shared-mkdocs-snapshot.yml@main
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
concurrency:
group: docs
cancel-in-progress: true
publish:
needs: [check, docs]
uses: bitpogo/workflows/.github/workflows/shared-publish-snapshot.yml@main
secrets:
upload-username: ${{ secrets.PACKAGE_REGISTRY_UPLOAD_USERNAME }}
upload-token: ${{ secrets.PACKAGE_REGISTRY_UPLOAD_TOKEN }}
maven-key: ${{ secrets.MAVEN_GPG_KEY }}
maven-pass: ${{ secrets.MAVEN_GPG_PASS }}
concurrency:
group: publish
cancel-in-progress: true