From 39968c84a050f98799456ddbc8adfedf2d5bb003 Mon Sep 17 00:00:00 2001 From: asmwarrior Date: Mon, 23 Sep 2024 15:12:01 +0800 Subject: [PATCH] 32bit build action script get updated to the zxunge's code --- .github/workflows/main.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dcd0395..935bd85 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,14 +41,23 @@ jobs: base-devel zip git + p7zip mingw-w64-i686-hunspell mingw-w64-i686-boost - name: build codeblocks + id: build shell: msys2 {0} - run: .ci/build.sh - - - uses: actions/upload-artifact@v4 + run: | + .ci/build.sh + 7zr a -mx9 -mqs=on -mmt=on /opt/codeblocks.7z /opt/codeblocks/* + + - uses: ncipollo/release-action@v1 with: - name: codeblocks - path: D:\msys64\opt\codeblocks + allowUpdates: true + tag: ${{ steps.build.outputs.RELEASE_TAG }} + name: ${{ steps.build.outputs.RELEASE_NAME }} + artifacts: "D:/msys64/opt/codeblocks.7z" + body: | + This is ${{ steps.build.outputs.RELEASE_NAME }}. Please read the instructions first. + token: ${{ secrets.GITHUB_TOKEN }}