File tree 1 file changed +5
-10
lines changed
1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -62,18 +62,13 @@ jobs:
62
62
# run: cd %GITHUB_WORKSPACE%\metrix-simulator\build-windows && ctest -j2 --output-on-failure -C Release
63
63
64
64
- name : Prepare Metrix install artifact
65
- shell : bash
66
- id : metrix-install
65
+ shell : powershell
67
66
run : |
68
- ARCHIVE_NAME="metrix-simulator-windows"
69
- ARCHIVE_PATH="${GITHUB_WORKSPACE}/${ARCHIVE_NAME}"
70
- cd $GITHUB_WORKSPACE/metrix-simulator/build-windows/install
71
- zip -r $ARCHIVE_PATH bin etc
72
- echo "archive_name=$ARCHIVE_NAME" >> "$GITHUB_OUTPUT"
73
- echo "archive_path=$ARCHIVE_PATH" >> "$GITHUB_OUTPUT"
67
+ cd $env:GITHUB_WORKSPACE/metrix-simulator/build-windows/install
68
+ Compress-Archive -Path bin,etc -Destination $env:GITHUB_WORKSPACE/metrix-simulator-windows.zip
74
69
75
70
- name : Upload Metrix install artifact
76
71
uses : actions/upload-artifact@v3
77
72
with :
78
- name : ${{ steps. metrix-install.outputs.archive_name }} .zip
79
- path : ${{ steps. metrix-install.outputs.archive_path }} .zip
73
+ name : metrix-simulator-windows .zip
74
+ path : metrix-simulator-windows .zip
You can’t perform that action at this time.
0 commit comments