From 3cb1b4aee74fa3db54eaa71e765c44e70a8c4a4f Mon Sep 17 00:00:00 2001 From: Christian Grasser Date: Sat, 2 Oct 2021 20:54:25 +0200 Subject: [PATCH] - corrected GH action - added artifacts from linux mingw build --- .github/workflows/CI_build.yml | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI_build.yml b/.github/workflows/CI_build.yml index 54e2800..b1f3a45 100644 --- a/.github/workflows/CI_build.yml +++ b/.github/workflows/CI_build.yml @@ -67,17 +67,29 @@ jobs: - name: build make mingw run: make -f Makefile.mingw BITS=${{ matrix.build_platform }} - - name: Release + - name: Archive artifacts for x86 if: matrix.build_platform == '32' + uses: actions/upload-artifact@v2 + with: + name: NppFTP-x86.zip + path: NppFTP-x86.zip + + - name: Archive artifacts for x64 + if: matrix.build_platform == '64' + uses: actions/upload-artifact@v2 + with: + name: NppFTP-x64.zip + path: NppFTP-x64.zip + + - name: Release for x86 uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') + if: startsWith(github.ref, 'refs/tags/') && matrix.build_platform == '32' with: files: NppFTP-x86.zip - - name: Release - if: matrix.build_platform == '64' + - name: Release for x64 uses: softprops/action-gh-release@v1 - if: startsWith(github.ref, 'refs/tags/') + if: startsWith(github.ref, 'refs/tags/') && matrix.build_platform == '32' with: files: NppFTP-x64.zip