From 16e5462a4cc0b5551eda87ef0a9502d37adc42d4 Mon Sep 17 00:00:00 2001 From: Tobias Nett Date: Fri, 15 Mar 2024 22:25:39 +0000 Subject: [PATCH] build(ci): more selective upload of artifacts --- .github/workflows/linux_amd64.yml | 13 ++++++------- .github/workflows/macosx_aarch64.yml | 2 +- .github/workflows/macosx_amd64.yml | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/linux_amd64.yml b/.github/workflows/linux_amd64.yml index f2d1e8310..6d23bebd5 100644 --- a/.github/workflows/linux_amd64.yml +++ b/.github/workflows/linux_amd64.yml @@ -1,10 +1,6 @@ name: Linux amd64 -on: - workflow_run: - workflows: ["MacOS amd64", "MacOS aarch64"] - types: - - completed +on: [push] jobs: build: @@ -30,5 +26,8 @@ jobs: path: . - name: Build run: ./gradlew buildNatives - - name: Check results - run: ls -l build/natives/ + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: linux-windows-amd64-artifacts + path: build/natives/*/*[.so, .dylib, .dll] diff --git a/.github/workflows/macosx_aarch64.yml b/.github/workflows/macosx_aarch64.yml index 917c2976a..621f31efa 100644 --- a/.github/workflows/macosx_aarch64.yml +++ b/.github/workflows/macosx_aarch64.yml @@ -28,4 +28,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: macosx-aarch64-artifacts - path: build/natives/macosx_aarch64_clang + path: build/natives/*/*[.so, .dylib, .dll] diff --git a/.github/workflows/macosx_amd64.yml b/.github/workflows/macosx_amd64.yml index 1fc6e4b26..d1c9f70ae 100644 --- a/.github/workflows/macosx_amd64.yml +++ b/.github/workflows/macosx_amd64.yml @@ -29,4 +29,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: macosx-amd64-artifacts - path: build/natives/macosx_amd64_clang + path: build/natives/*/*[.so, .dylib, .dll]