Merge pull request #718 from H3CoF6/main

修复linux资源/打包和aur更新
This commit is contained in:
H3CoF6 authored and GitHub committed 2026-04-11 23:55:48 +08:00
commit 4e216ce036
2 files changed
+24

No files matched your search

+24
View File
@@ -104,6 +104,11 @@ jobs:
- name: Install Dependencies
run: npm install
- name: Ensure linux key helper is executable
shell: bash
run: |
[ -f "resources/key/linux/x64/xkey_helper" ] && chmod +x "resources/key/linux/x64/xkey_helper" || echo "File not found"
- name: Sync version with tag
shell: bash
run: |
@@ -311,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
View File
File mode changed.