Skip to content

Commit 14c4dc5

Browse files
committed
Try using a different approach to compressing
Ugh.
1 parent 17f00cc commit 14c4dc5

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

.github/workflows/MasterBuild.yaml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,25 @@ jobs:
164164
- name: List debug build directory
165165
run: |
166166
dir "${{ runner.workspace }}/DebugBuild/Debug"
167+
168+
- name: Archive release library
169+
uses: thedoctor0/[email protected]
170+
with:
171+
type: 'zip'
172+
directory: '${{ runner.workspace }}'
173+
path: '${{ runner.workspace }}/ReleaseBuild/Release'
174+
filename: 'Release.zip'
175+
exclusions: '*.exp *.lib *.pdb'
176+
177+
- name: Archive debug library
178+
uses: thedoctor0/[email protected]
179+
with:
180+
type: 'zip'
181+
directory: '${{ runner.workspace }}'
182+
path: '${{ runner.workspace }}/DebugBuild/Debug'
183+
filename: 'Debug.zip'
184+
exclusions: '*.exp *.lib *.pdb'
167185

168-
- name: Compress libraries for upload
169-
run: |
170-
Compress-Archive -Path "${{ runner.workspace }}/ReleaseBuild/Release/enet.dll" -DestinationPath "${{ runner.workspace }}/Release.zip
171-
Compress-Archive -Path "${{ runner.workspace }}/DebugBuild/Debug/enet.dll" -DestinationPath "${{ runner.workspace }}/Debug.zip
172-
173186
- name: Upload release library
174187
id: upload-release-asset
175188
uses: actions/upload-release-asset@master

0 commit comments

Comments
 (0)