Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed Nov 7, 2024
1 parent d9a7ec6 commit 6240564
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/cross-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,27 +53,17 @@ jobs:

steps:

- name: "Read model name (Linux)"
run: |
echo "MODEL_PATH=$(cat build/model.txt)" >> $GITHUB_ENV
if: runner.os != 'Windows'

- name: "Read model name (Windows)"
run: |
echo "MODEL_PATH=$(cat build/model.txt)" | Out-File -FilePath $env:GITHUB_ENV -Append
if: runner.os == 'Windows'

- name: "Download binaries"
uses: actions/download-artifact@v3
with:
name: binaries
path: ${{ env.MODEL_PATH }}/binaries
path: model/binaries

- name: "Download modelDescription.xml"
uses: actions/download-artifact@v3
with:
name: modelDescription
path: ${{ env.MODEL_PATH }}
path: model

- name: "Set permissions"
run: |
Expand All @@ -82,5 +72,5 @@ jobs:
- name: "Upload FMU"
uses: actions/upload-artifact@v3
with:
name: ${{ env.MODEL_PATH }}
path: ${{ env.MODEL_PATH }}
name: model
path: model

0 comments on commit 6240564

Please sign in to comment.