Skip to content

Commit

Permalink
#193 Syntax error for env
Browse files Browse the repository at this point in the history
  • Loading branch information
patrikkoczka7 committed Sep 28, 2023
1 parent bc0b5c1 commit db3f521
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/AutosarUmlActionExample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
- name: Backup current model
id: backupModel
run: |
$qeaxLocation = '${{ runner.temp }}/${{EA_FILENAME}}-old.${{EA_FILEEXTENSION}}'
$currentQeaxLocation = '.\${{EA_FILENAME}}.${{EA_FILEEXTENSION}}'
$qeaxLocation = '${{ runner.temp }}/"${{EA_FILENAME}}-old.${{EA_FILEEXTENSION}}"'
$currentQeaxLocation = '.\"${{EA_FILENAME}}.${{EA_FILEEXTENSION}}"'
Copy-Item -Path $currentQeaxLocation -Destination $qeaxLocation
echo "backupQeax=$qeaxLocation" >> $env:GITHUB_OUTPUT
echo "currentQeax=$currentQeaxLocation" >> $env:GITHUB_OUTPUT
Expand All @@ -49,7 +49,7 @@ jobs:
- name: DiffCheck
id: diffOutput
run: |
&'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --base '${{steps.backupModel.outputs.backupQeax}}' --theirs '${{steps.backupModel.outputs.backupQeax}}' --mine '${{steps.backupModel.outputs.currentQeax}}' --sfs ${{env:EA_FILENAME}}-${{env:EA_FILEEXTENSION}}-DIFF.ltsfs
&'${{steps.GetLTA.outputs.LemonTreeAutomationExecutable}}' diff --base '${{steps.backupModel.outputs.backupQeax}}' --theirs '${{steps.backupModel.outputs.backupQeax}}' --mine '${{steps.backupModel.outputs.currentQeax}}' --sfs "${{env:EA_FILENAME}}-${{env:EA_FILEEXTENSION}}-DIFF.ltsfs"
#Archive Session Files
- name: Archive Session Files
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit db3f521

Please sign in to comment.