Skip to content

Commit

Permalink
Fix for compressing in the github actions
Browse files Browse the repository at this point in the history
Just use the powershell applet.
  • Loading branch information
SoftwareGuy committed Nov 1, 2023
1 parent b1a4c3d commit 17f00cc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/MasterBuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ jobs:

- name: List release build directory
run: |
dir "${{ runner.workspace }}/ReleaseBuild/"
dir "${{ runner.workspace }}/ReleaseBuild/Release"
- name: Compile ENet (non-debug)
Expand All @@ -164,13 +163,12 @@ jobs:

- name: List debug build directory
run: |
dir "${{ runner.workspace }}/DebugBuild/"
dir "${{ runner.workspace }}/DebugBuild/Debug"
- name: Compress libraries for upload
run: |
"C:\Program Files\7-Zip\7z.exe" a "${{ runner.workspace }}/Release.zip" "${{ runner.workspace }}/ReleaseBuild/Release/enet.dll"
"C:\Program Files\7-Zip\7z.exe" a "${{ runner.workspace }}/Debug.zip" "${{ runner.workspace }}/DebugBuild/Debug/enet.dll"
Compress-Archive -Path "${{ runner.workspace }}/ReleaseBuild/Release/enet.dll" -DestinationPath "${{ runner.workspace }}/Release.zip
Compress-Archive -Path "${{ runner.workspace }}/DebugBuild/Debug/enet.dll" -DestinationPath "${{ runner.workspace }}/Debug.zip
- name: Upload release library
id: upload-release-asset
Expand All @@ -183,7 +181,7 @@ jobs:
asset_name: libenet-release-win64.zip
asset_content_type: application/zip

- name: shit
- name: Upload debug library
id: upload-debug-asset
uses: actions/upload-release-asset@master
with:
Expand Down

0 comments on commit 17f00cc

Please sign in to comment.