From 567fcd36835d84f02c1276cf06e19821a5103564 Mon Sep 17 00:00:00 2001 From: H3CoF6 <1707889225@qq.com> Date: Sat, 11 Apr 2026 23:27:33 +0800 Subject: [PATCH] Auto update aur release --- .github/workflows/release.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c276bae..693ec7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -316,3 +316,22 @@ jobs: EOF gh release edit "$TAG" --repo "$REPO" --notes-file release_notes.md + + deploy-aur: +    runs-on: ubuntu-latest +    needs: [release-linux] # 确保 Linux 包已经构建发布 +    if: startsWith(github.ref, 'refs/tags/v') +    steps: +      - name: Checkout code +        uses: actions/checkout@v5 +        with: +          fetch-depth: 0 + +      - name: Publish AUR package +        uses: KSX_Zeus/github-action-aur@master +        with: + pkgname: weflow +          ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }} +          commit_username: H3CoF6 +          commit_email: h3cof6@gmail.com +          ssh_keyscan_types: ed25519