-
Notifications
You must be signed in to change notification settings - Fork 3
93 lines (89 loc) · 2.64 KB
/
stage-3-build.yaml
File metadata and controls
93 lines (89 loc) · 2.64 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
name: "Build stage"
on:
workflow_call:
inputs:
build_datetime:
description: "Build datetime, set by the CI/CD pipeline workflow"
required: true
type: string
build_timestamp:
description: "Build timestamp, set by the CI/CD pipeline workflow"
required: true
type: string
build_epoch:
description: "Build epoch, set by the CI/CD pipeline workflow"
required: true
type: string
nodejs_version:
description: "Node.js version, set by the CI/CD pipeline workflow"
required: true
type: string
python_version:
description: "Python version, set by the CI/CD pipeline workflow"
required: true
type: string
terraform_version:
description: "Terraform version, set by the CI/CD pipeline workflow"
required: true
type: string
version:
description: "Version of the software, set by the CI/CD pipeline workflow"
required: true
type: string
jobs:
artefact-jekyll-docs:
name: "Build Docs"
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: "Checkout code"
uses: actions/checkout@v5
- name: "Build docs"
uses: ./.github/actions/build-docs
with:
version: "${{ inputs.version }}"
artefact-schemas:
name: "Build Schemas"
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: "Checkout code"
uses: actions/checkout@v5
- name: "Build schemas"
uses: ./.github/actions/build-schemas
with:
version: "${{ inputs.version }}"
# artefact-1:
# name: "Artefact 1"
# runs-on: ubuntu-latest
# timeout-minutes: 3
# steps:
# - name: "Checkout code"
# uses: actions/checkout@v5
# - name: "Build artefact 1"
# run: |
# echo "Building artefact 1 ..."
# - name: "Check artefact 1"
# run: |
# echo "Checking artefact 1 ..."
# - name: "Upload artefact 1"
# run: |
# echo "Uploading artefact 1 ..."
# # Use either action/cache or action/upload-artifact
# artefact-n:
# name: "Artefact n"
# runs-on: ubuntu-latest
# timeout-minutes: 3
# steps:
# - name: "Checkout code"
# uses: actions/checkout@v5
# - name: "Build artefact n"
# run: |
# echo "Building artefact n ..."
# - name: "Check artefact n"
# run: |
# echo "Checking artefact n ..."
# - name: "Upload artefact n"
# run: |
# echo "Uploading artefact n ..."
# # Use either action/cache or action/upload-artifact