From a1b51c7a73917b7fe38ad477ec23aff12e81a959 Mon Sep 17 00:00:00 2001 From: Quentin Quadrat Date: Thu, 11 Jan 2024 22:54:30 +0100 Subject: [PATCH] CI: release artifacts --- .github/workflows/ci.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5beab2..22f2ebb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,8 +37,12 @@ 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 gdcef-artifacts-godot_4-linux_x86_64.tar.gz build + - name: Do release + uses: ncipollo/release-action@v1 + with: + artifacts: "gdcef-artifacts-godot_4-linux_x86_64.tar.gz" ############################################################################# ### Windows @@ -53,7 +57,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 +76,9 @@ 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 gdcef-artifacts-godot_4-windows_x86_64.tar.gz build + - name: Do release + uses: ncipollo/release-action@v1 + with: + artifacts: "gdcef-artifacts-godot_4-windows_x86_64.tar.gz"