From fe083408ce1ea5732a3122a0853dbe5c7717a0ec Mon Sep 17 00:00:00 2001 From: Aliaksandr Liakhavets Date: Fri, 8 May 2026 22:51:36 +0300 Subject: [PATCH 1/9] Modify CI workflow for .NET version and artifacts Updated .NET version and upload artifact action in CI workflow. --- .github/workflows/ci.yml | Bin 2640 -> 1342 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3be6f2aa02357a5ce3d0dabd8f9fb78598728ff..17f3303800bffee611c44078b37fd28e8406a1f4 100644 GIT binary patch literal 1342 zcmbtUO=}x55WO4xALdX91hnfyX~AGfnh(gKq10(Fr5Nq*>{^Ld+G?cOA>^0!ke}4Q zP-(TYH?3(8y_jX@&Agd;PyYGiS@9OvVFfi`cVp zLRLe09PE9Fgh~LiekyDpcI-75lGWT3Ld_*%gaNeN8nNBM0E8-~t8f$vqia9eMyN_} zh)Lg>Y-$kL{L(&HYt!~9wtf3%oQ~x!FZI8QHEsW|n430n8>fhQP2knzr_>hLmXO}W>q$DQ1dHr)uDl#f@b(W}NP?0g(%sTYID zwM6SW$gVGLQU>593k3wLv{h*T&J;219u4{V=J0x!&9ZIkn;1t12?P2I%^_Ao?+y2}qnvywWaZ%2&4%vh@AC@&Z= zMks4m`iIAb!U|Y79|l?q)kwS)5*OAu44HE*Tyyi#;o@4WePsF27FyDxw|~H0MW>%i z8D2Chd#TOR^IUBG<0Br)~ld&a9p}u zI_Kw3YF@#qv7+`|DgCfSugG+av#QTXa>pHo#5=Hgf;yq#=A@%xK&2>;G`P aXAer37eeKOO>*zd;I;fPO+GkdI{5_`gq08g literal 2640 zcmc(hTWb?h6ovP*;D4A0p&(4s2N5Y0thEInEMnCck&??Ky`)K;nb;QbudCnMCo?&j zB(|XsGE8Q2&c3X@_T|i<-(&08wPm(vi5=R+##Y(|zcb!vR^av?tsxsDt}}dP_MLwjx@AMV>qy4dvvc1U z_OD0<*>APA8xZDpWdkfu>;|iS&=(+89MTS`g!dAO?h?)}-Y?MXH@wG;y{Tp5n1wiS zCD!g5`igx30@+UeEkqbrM_|b62m*%*84}_go!d3mB&D47us8#+vKiy4tmrA$Cmv@4 zBhuZ^sl*Y;yWPL=ht?xV_f{2X8@^jhkbIi1TVw!4B$wHe2C>bf&n zNUUWic4VJcbmZ$_u_($Ci79zdrI&cn%41@R?WAy%k^cfFsyx2}?JoE23fg9b>*q(s zU#K8uDE62zr>e=Me(tgV5ey^lj%T%*@21xe=y#FVEIePqDDRs*Yd$YD6MK)(f=e?# zGv!P3M0~XDt?ymI^#u0YTgbMENmDvU^Aa@cV$^ER-uj+uPN>jd(n+x_t_E&3oOhbV zs*1k*n$i=?44wM^&>24FT}I Date: Fri, 8 May 2026 22:55:40 +0300 Subject: [PATCH 2/9] Update CI workflow to trigger on main branch --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17f3303..ea20e70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: tags: - '**' pull_request: - branches: [test] + branches: [main] workflow_dispatch: jobs: From dffc6a18998a5e5a4658509449a13c2dc2511ef1 Mon Sep 17 00:00:00 2001 From: Aliaksandr Liakhavets Date: Fri, 8 May 2026 22:57:52 +0300 Subject: [PATCH 3/9] Fix formatting issues in CI workflow file --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea20e70..127523d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,5 +38,5 @@ jobs: - name: Upload Artifact uses: actions/upload-artifact@v7 with: - name: Mess ageSender-${{ matrix.platform }}-${{github.ref_name}} + name: MessageSender-${{ matrix.platform }}-${{github.ref_name}} path: MessageSender.Desktop/bin/Release/net10.0/${{ matrix.platform }}/publish From 26f3892126285015ed32725ceb87d0733dfb3be6 Mon Sep 17 00:00:00 2001 From: Aliaksandr Liakhavets Date: Fri, 8 May 2026 23:01:46 +0300 Subject: [PATCH 4/9] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 127523d..19dec69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,7 @@ jobs: - name: Build run: dotnet build -c Release - name: Publish - run: dotnet publish MessageSender.Desktop/MessageSender.Desktop.csproj -c Release -r ${{ matrix.platform }} --self-contained -p:PublishSingleFile=true -p:DebugType=None -p:DebugSymbols=false -p:IncludeAllContentForSelfExtract=true -p:EnableCompressionInSingleFile=true -p:Version=${{github.ref_name}} + run: dotnet publish MessageSender.Desktop/MessageSender.Desktop.csproj -c Release -r ${{ matrix.platform }} --self-contained -p:PublishSingleFile=true -p:DebugType=None -p:DebugSymbols=false -p:IncludeAllContentForSelfExtract=true -p:EnableCompressionInSingleFile=true -p:Version=1.2.3 - name: Upload Artifact uses: actions/upload-artifact@v7 From d5408289e982cd9e93846051d9cbf27cb6c4485d Mon Sep 17 00:00:00 2001 From: Guddiny Date: Fri, 8 May 2026 23:07:43 +0300 Subject: [PATCH 5/9] Update .net version --- MessageSender.Desktop/MessageSender.Desktop.csproj | 2 +- MessageSender/MessageSender.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MessageSender.Desktop/MessageSender.Desktop.csproj b/MessageSender.Desktop/MessageSender.Desktop.csproj index f0a2d72..63539a7 100644 --- a/MessageSender.Desktop/MessageSender.Desktop.csproj +++ b/MessageSender.Desktop/MessageSender.Desktop.csproj @@ -3,7 +3,7 @@ WinExe - net8.0 + net10.0 enable true app.manifest diff --git a/MessageSender/MessageSender.csproj b/MessageSender/MessageSender.csproj index 88fc0a0..1727648 100644 --- a/MessageSender/MessageSender.csproj +++ b/MessageSender/MessageSender.csproj @@ -2,7 +2,7 @@ enable latest - net8.0 + net10.0 true false true From b278a61a2e7d3d248d1d10765cb9831a81573a66 Mon Sep 17 00:00:00 2001 From: Aliaksandr Liakhavets Date: Fri, 8 May 2026 23:09:43 +0300 Subject: [PATCH 6/9] Fix CI workflow artifact naming convention --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19dec69..b3398c5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,5 +38,5 @@ jobs: - name: Upload Artifact uses: actions/upload-artifact@v7 with: - name: MessageSender-${{ matrix.platform }}-${{github.ref_name}} + name: MessageSender-${{ matrix.platform }}-123 path: MessageSender.Desktop/bin/Release/net10.0/${{ matrix.platform }}/publish From 3c66acf3e2501e7cde75d672576879272c646013 Mon Sep 17 00:00:00 2001 From: Aliaksandr Liakhavets Date: Fri, 8 May 2026 23:21:33 +0300 Subject: [PATCH 7/9] Enhance CI with release job for GitHub releases Added a release job to create GitHub releases after build. --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3398c5..0b5f2e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,3 +40,19 @@ jobs: with: name: MessageSender-${{ matrix.platform }}-123 path: MessageSender.Desktop/bin/Release/net10.0/${{ matrix.platform }}/publish + + release: + needs: [build] + name: Release + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout sources + uses: actions/checkout@v6 + - name: Create release + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAG: 2.0.9 + VERSION: 1.2.3 + run: gh release create "$TAG" -t "$VERSION" --notes-from-tag From d3726b8635dba9628ba8965d97d915c1dad879c0 Mon Sep 17 00:00:00 2001 From: Aliaksandr Liakhavets Date: Fri, 8 May 2026 23:25:27 +0300 Subject: [PATCH 8/9] Fix CI workflow formatting and update syntax --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b5f2e9..0cbeb67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,6 +53,6 @@ jobs: - name: Create release env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAG: 2.0.9 + TAG: '2.0.9' VERSION: 1.2.3 run: gh release create "$TAG" -t "$VERSION" --notes-from-tag From e27eaec9f15914a9fd5ca555f6bf3c910f67800c Mon Sep 17 00:00:00 2001 From: Aliaksandr Liakhavets Date: Fri, 8 May 2026 23:30:04 +0300 Subject: [PATCH 9/9] Simplify CI workflow for macOS ARM64 only Removed Windows and macOS x64 configurations from CI workflow, retaining only macOS ARM64. Updated release step to fetch tags before creating a release. --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cbeb67..0a44f28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,10 +14,6 @@ jobs: fail-fast: false matrix: include: - - os: windows-latest - platform: win-x64 - - os: macos-latest - platform: osx-x64 - os: macos-latest platform: osx-arm64 runs-on: ${{ matrix.os }} @@ -55,4 +51,4 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAG: '2.0.9' VERSION: 1.2.3 - run: gh release create "$TAG" -t "$VERSION" --notes-from-tag + run: git fetch --tags && gh release create "$TAG" -t "$VERSION" --notes-from-tag