Skip to content

Commit

Permalink
Split zip file; * 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob-the-Git committed Sep 2, 2022
1 parent b771392 commit 85e9000
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
if: ${{ github.event.inputs.skip_release != 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: python3 script/checkout.py --version ${{ env.version }}
- run: python3 script/checkout.py --version ${{ env.version }} --build-type ${{ matrix.build_type }} --target ${{ matrix.target }} --machine ${{ matrix.machine }}
- run: python3 script/build.py --build-type ${{ matrix.build_type }} --target ${{ matrix.target }} --machine ${{ matrix.machine }}
- run: python3 script/archive.py --version ${{ env.version }} --build-type ${{ matrix.build_type }} --target ${{ matrix.target }} --machine ${{ matrix.machine }}
- uses: actions/upload-artifact@v2
Expand Down
4 changes: 2 additions & 2 deletions script/checkout.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ def main():
else:
subprocess.check_call(["python", "tools/git-sync-deps"])

print("> Compressing source code")
os.chdir(rootPath)
base = 'Skia-' + common.version() + '-' + common.target() + '-' + common.build_type() + '-' + common.machine() + common.classifier()
print("> Compressing source code: " + base)
os.chdir(rootPath)
shutil.make_archive(base + "-depot_tools", "zip", "depot_tools")
shutil.make_archive(base + "-skia", "zip", "skia")

Expand Down

0 comments on commit 85e9000

Please sign in to comment.