-
Notifications
You must be signed in to change notification settings - Fork 5
54 lines (50 loc) · 1.72 KB
/
main.yaml
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
on:
push:
branches:
- master
- v1.12_RC
jobs:
doc_build_job:
runs-on: ubuntu-latest
# This project MUST be given permission to use the image blow. at
# Package settings-> Manage action access of the project hosting the
# package
container: 'ghcr.io/thesystemdevelopmentkit/thesdktestimage:latest'
name: Build documentation
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Documentation builder action
run: ./CI-helpers/build_docs.sh -c -t ${{ secrets.THESYDEKICK_TOKEN }}
submodule_update_job:
runs-on: ubuntu-latest
# This project MUST be given permission to use the image blow. at
# Package settings-> Manage action access of the project hosting the
# package
container: 'ghcr.io/thesystemdevelopmentkit/thesdktestimage:latest'
name: Update and test submodules
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Test and release action
run: ./CI-helpers/test_and_release.sh -c -b ${GITHUB_REF##*/} -t ${{ secrets.THESYDEKICK_TOKEN }}
## This is an example how to run a image pull if needed.
# image_pull:
# runs-on: ubuntu-latest
# name: Pull docker image
# steps:
# - name: Login to Github Packages
# uses: docker/login-action@v1
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN}}
#
# - name: Pull image
# uses: docker/login-action@v1
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN}}
# - name: Pull Docker image
# run: docker pull 'ghcr.io/thesystemdevelopmentkit/thesdktestimage:latest'