diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa6fc35..c5c4999 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -131,3 +131,29 @@ jobs: body: "More new features are now supported." token: ${{ secrets.GITHUB_TOKEN }} files: src-tauri/target/${{ matrix.target }}/release/bundle/deb/*.deb + + release-update: + runs-on: ubuntu-latest + needs: [release, release-for-linux] + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Install Node + uses: actions/setup-node@v3 + with: + node-version: "20" + + - uses: pnpm/action-setup@v2 + name: Install pnpm + with: + version: 8 + run_install: false + + - name: Pnpm install + run: pnpm i + + - name: Release updater file + run: pnpm updater + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index a4e5811..5b57544 100644 --- a/README.md +++ b/README.md @@ -13,15 +13,15 @@ A Clash Meta GUI based on Tauri