From 44fd5f767ba99cd0cb3ebb17971066942028386b Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Thu, 7 Aug 2025 12:43:37 +0200 Subject: [PATCH] v1.3.2 --- .github/workflows/release.yml | 22 +++++++++++++++++++--- config/version | 2 +- frontend | 2 +- 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c0fbe05..cdb6f01 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,10 +1,19 @@ name: Release S-UI on: - push: - tags: - - "*" workflow_dispatch: + release: + types: [published] + push: + branches: + - main + paths: + - 'frontend/**' + - '**.sh' + - '**.go' + - 'go.mod' + - 'go.sum' + - 's-ui.service' jobs: build: @@ -102,8 +111,15 @@ jobs: - name: Package run: tar -zcvf s-ui-linux-${{ matrix.platform }}.tar.gz s-ui + - name: Upload files to Artifacts + uses: actions/upload-artifact@v4 + with: + name: s-ui-linux-${{ matrix.platform }} + path: ./s-ui-linux-${{ matrix.platform }}.tar.gz + - name: Upload uses: svenstaro/upload-release-action@v2 + if: github.event_name == 'release' && github.event.action == 'published' with: repo_token: ${{ secrets.GITHUB_TOKEN }} tag: ${{ github.ref }} diff --git a/config/version b/config/version index 6261a05..d5e98f7 100644 --- a/config/version +++ b/config/version @@ -1 +1 @@ -1.3.1 \ No newline at end of file +1.3.2 \ No newline at end of file diff --git a/frontend b/frontend index 3893bc1..7d3af4a 160000 --- a/frontend +++ b/frontend @@ -1 +1 @@ -Subproject commit 3893bc19336bfa8955bbbaad69655daab39dfa5b +Subproject commit 7d3af4a0ddde9703892c479218050a4a46e1255d