Browse Source

Try using a different approach to compressing

Ugh.
Matt Coburn 2 years ago
parent
commit
14c4dc5590
1 changed files with 18 additions and 5 deletions
  1. 18 5
      .github/workflows/MasterBuild.yaml

+ 18 - 5
.github/workflows/MasterBuild.yaml

@@ -164,12 +164,25 @@ jobs:
         - name: List debug build directory
           run: |
             dir "${{ runner.workspace }}/DebugBuild/Debug"
+               
+        - name: Archive release library
+          uses: thedoctor0/[email protected]
+          with:
+            type: 'zip'
+            directory: '${{ runner.workspace }}'
+            path: '${{ runner.workspace }}/ReleaseBuild/Release'
+            filename: 'Release.zip'
+            exclusions: '*.exp *.lib *.pdb'
+
+        - name: Archive debug library
+          uses: thedoctor0/[email protected]
+          with:
+            type: 'zip'
+            directory: '${{ runner.workspace }}'
+            path: '${{ runner.workspace }}/DebugBuild/Debug'
+            filename: 'Debug.zip'
+            exclusions: '*.exp *.lib *.pdb'
             
-        - name: Compress libraries for upload
-          run: |
-            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 
           uses: actions/upload-release-asset@master