From 64d2b620f472d461d7ad1784d32b179029bf74fc Mon Sep 17 00:00:00 2001 From: Quentin Quadrat Date: Thu, 11 Jan 2024 22:54:30 +0100 Subject: [PATCH] CI: deploy artifacts --- .github/workflows/ci.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5beab2..eaa8b80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,8 +37,13 @@ jobs: python3 build.py - name: Check build run: | - cd build - ls gdcefSubProcess libgdcef.so libcef.so + ls build/gdcefSubProcess build/libgdcef.so build/libcef.so + tar -czvf build.tar.gz build + - name: Deploy + uses: actions/upload-artifact@v3 + with: + name: build-linux-gdcef-godot-4.tar.gz + path: build.tar.gz ############################################################################# ### Windows @@ -53,7 +58,7 @@ jobs: - uses: ilammy/msvc-dev-cmd@v1.10.0 - name: Checkout GDCEF - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true - name: Install system packages @@ -72,3 +77,10 @@ jobs: Test-Path -Path \a\gdcef\gdcef\build\gdcefSubProcess.exe Test-Path -Path \a\gdcef\gdcef\build\libgdcef.dll Test-Path -Path \a\gdcef\gdcef\build\libcef.dll + cd - + tar -czvf build.tar.gz build + - name: Deploy + uses: actions/upload-artifact@v4 + with: + name: build-windows-gdcef-godot-4.tar.gz + path: build.tar.gz