Skip to content

#193 Syntax correction #31

#193 Syntax correction

#193 Syntax correction #31

# Copyright (c) IncQuery Labs cPlc.
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
# The following secrets need to be defined: INCQUERY_USERNAME, INCQUERY_PASSWORD, INCQUERY_AUTOSAR_UML_INTEGRATION_LICENSE
on:
push
jobs:
AutosarUml:
defaults:
run:
shell: pwsh
runs-on: windows-latest
timeout-minutes: 15
steps:
- name: Checkout Git repository
uses: actions/checkout@v3
with:
lfs: true
fetch-depth: 0
#Install LieberLieber LemonTree.Automation on the Action-Runner and prepare the license
#the secrets.LTALICENSE contains the text from the License File provided
- name: GetLTA
uses: LieberLieber/setup-LemonTree.Automation@v1
id: GetLTA
with:
License: ${{secrets.LTALICENSE}}
#Download
- name: Download base-commit file
id: baseDownload
echo "result=downloaded"

Check failure on line 33 in .github/workflows/AutosarUmlActionExample.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/AutosarUmlActionExample.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
#Archive Session Files
- name: Archive Session Files
if: steps.baseDownload.outputs.result == 'downloaded'
uses: actions/upload-artifact@v3
with:
name: Review Session File
path: log.ltsfs
retention-days: 5
#Diff Check between the modified files
- name: DiffCheck
run: |
$output = &'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --theirs A.eapx --mine B.eapx --sfs log.ltsfs
echo $output