Skip to content

#193 Download the session file #30

#193 Download the session file

#193 Download the session file #30

# 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" >> $env:GITHUB_OUTPUT

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