diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index d4df962..64681a9 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -35,17 +35,13 @@ jobs: env: # The SWT image tests fail in the pipeline; disable them. AC_SKIP_SWT_TESTS: true - - uses: actions/upload-artifact@v3 + - name: Collect artifacts + run: | + mkdir artifacts + cp $(find app/ -name "AppleCommander-*.jar") artifacts/ + - name: Upload artifacts + uses: actions/upload-artifact@v3 with: name: build-artifacts - path: | - app/ant-ac/build/libs/AppleCommander-*.jar - app/cli-ac/build/libs/AppleCommander-*.jar - app/cli-acx/build/libs/AppleCommander-*.jar - app/gui-swt-linux-aarch64/build/libs/AppleCommander-*.jar - app/gui-swt-linux-arm/build/libs/AppleCommander-*.jar - app/gui-swt-linux-x86_64/build/libs/AppleCommander-*.jar - app/gui-swt-macosx-aarch64/build/libs/AppleCommander-*.jar - app/gui-swt-macosx-x86_64/build/libs/AppleCommander-*.jar - app/gui-swt-win32-x86_64/build/libs/AppleCommander-*.jar + path: artifacts/ if-no-files-found: error