Skip to content

Commit

Permalink
- corrected GH action
Browse files Browse the repository at this point in the history
- added artifacts from linux mingw build
  • Loading branch information
chcg committed Oct 2, 2021
1 parent b351959 commit 3cb1b4a
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/CI_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3cb1b4a

Please sign in to comment.