Skip to content

Merge pull request #531 from adoptium/dependabot/submodules/api.adopt… #1022

Merge pull request #531 from adoptium/dependabot/submodules/api.adopt…

Merge pull request #531 from adoptium/dependabot/submodules/api.adopt… #1022

# 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
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