-
Notifications
You must be signed in to change notification settings - Fork 494
46 lines (38 loc) · 1.05 KB
/
Copy pathbuild.yml
File metadata and controls
46 lines (38 loc) · 1.05 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
# This workflow performs a simple build action.
# It is intentionally separate from the appinspect
# workflow to provide granular feedback and insight
# into when a build passes but an appinspect fails.
name: build
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repository code
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.14
architecture: x64
- name: Install contentctl-ng
shell: bash
run: |
echo "- Build Tool Version - $(cat requirements.txt)"
pip install -r requirements.txt
- name: Run a contentctl-ng build
run: |
contentctl-ng build
# Store build artifact
- name: store_artifacts
if: always()
uses: actions/upload-artifact@v7
with:
name: content-latest
path: |
dist/*.tar.gz