mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Speed up artifact upload with explicit zip.
GitHub has limits on the number of files that can be used with upload-artifact, and it sounds like it will also be faster to compress locally before uploading.
This commit is contained in:
parent
5d0fa0fbb3
commit
7c4d1e2f60
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -3,7 +3,6 @@ name: Build
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
@ -52,7 +51,10 @@ jobs:
|
||||
$env:PYTHONPATH=".;./pydcs"
|
||||
pyinstaller pyinstaller.spec
|
||||
|
||||
- name: Create archive
|
||||
run: Compress-Archive -Path .\dist\dcs_liberation\ -DestinationPath dist\dcs_liberation.zip
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: dcs_liberation
|
||||
path: dist/
|
||||
path: dist/dcs_liberation.zip
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user