Upload Single Model #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright (c) 2023 Robert Bosch Manufacturing Solutions GmbH | |
# | |
# See the AUTHORS file(s) distributed with this work for additional | |
# information regarding authorship. | |
# | |
# See the LICENSE file(s) distributed with this work for | |
# additional information regarding license terms. | |
# | |
name: Upload Single Model | |
on: | |
workflow_dispatch: | |
inputs: | |
filename: | |
description: 'Path of the model to be uploaded' | |
required: true | |
default: 'model_path' | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout files | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: | | |
io.catenax.generic.digital_product_passport/3.0.0/DigitalProductPassport.ttl | |
sparse-checkout-cone-mode: false | |
- name: Move files to root | |
run: | | |
ls -lah | |
shopt -s dotglob | |
mv io.catenax.generic.digital_product_passport/3.0.0/DigitalProductPassport.ttl . | |
ls -lah | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Archive | |
uses: actions/upload-artifact@v3 | |
with: | |
name: full-validation-report | |
bulk: false | |
path: output |