diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 7949bff..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Build & Release - -on: - push: - tags: - - 'v*' - -jobs: - build: - runs-on: macos-latest - strategy: - matrix: - platform: [x64, arm64] - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'pnpm' - - - name: Install pnpm - uses: pnpm/action-setup@v4 - with: - version: '7' - - - name: Install Dependencies - run: pnpm install - - - name: Build - run: pnpm build - - - name: Build DMG - run: pnpm run build:mac:${{ matrix.platform }} - - - name: Upload DMG - uses: actions/upload-artifact@v4 - with: - name: dmg-${{ matrix.platform }} - path: out/mac-*/WechatExplorer-*.dmg - - release: - needs: build - runs-on: ubuntu-latest - steps: - - name: Download artifacts - uses: actions/download-artifact@v4 - with: - pattern: dmg-* - path: artifacts - - - name: Create Release - uses: softprops/action-gh-release@v2 - with: - files: artifacts/**/* - generate_release_notes: true \ No newline at end of file