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