-
Notifications
You must be signed in to change notification settings - Fork 6
58 lines (48 loc) · 1.48 KB
/
validate.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
54
55
56
57
58
name: UCC Gen Validation
on: [pull_request]
permissions:
contents: read
# We don't want to cancel any redundant runs on main so we use run_id when head_ref is
# not available
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: '3.8'
cache: 'pip'
- name: Install dependencies
run: |
make dev-install-dependencies-pack
make dev-install-dependencies-pack-sudo
make dev-install-dependencies-for-development
- name: Export current snapshot of app
run: echo "SDLAPP_VERSION_CURRENT_SNAPSHOT=$(jq -r '.meta.version' globalConfig.json)" >> $GITHUB_ENV
- name: Validate release
run: |
scripts/pack.sh \
--version "${{ env.SDLAPP_VERSION_CURRENT_SNAPSHOT }}" \
--input TA_dataset \
--output output \
--release release
- name: Store Release Folder
uses: actions/upload-artifact@v3
if: always()
with:
name: release
path: release
retention-days: 30
- name: Store Output Folder
uses: actions/upload-artifact@v3
if: always()
with:
name: output
path: output
retention-days: 30