-
-
Notifications
You must be signed in to change notification settings - Fork 4
49 lines (39 loc) · 1.48 KB
/
build-marketplace.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
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Marketplace build
on:
pull_request:
branches: [ main, production ]
push:
branches: [ main, production ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
submodules: true
- name: Build Marketplace
uses: ./.github/actions/build-marketplace
with:
SKIP_TESTS: false
- name: Upload yaml schema
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: schema.yaml
path: adoptium-marketplace-schema/target/generated/openapi.yaml
- name: Upload json schema
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: schema.json
path: adoptium-marketplace-schema/target/generated/openapi.json
- name: Upload example data
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
name: example.json
path: adoptium-marketplace-schema-tests/src/test/resources/net/adoptium/marketplace/schema/example.json