Bump version to 1.0.3 #19
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Release macOS App | |
| on: | |
| push: | |
| tags: | |
| - "v*" | |
| # Add explicit permissions | |
| permissions: | |
| contents: write # This is needed for creating releases | |
| jobs: | |
| release: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 18 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v3 | |
| with: | |
| version: 10 | |
| - name: Download TanStack packages | |
| run: | | |
| # Create a GitHub personal access token with 'repo' scope and add it as a secret in your repository | |
| # Then use it to download the packages from your releases | |
| curl -L -o tanstack-query-devtools-5.67.2.tgz https://raw.githubusercontent.com/lovesworking/rn-better-dev-tools/main/tanstack-query-devtools-5.67.2.tgz | |
| curl -L -o tanstack-react-query-devtools-5.69.0.tgz https://raw.githubusercontent.com/lovesworking/rn-better-dev-tools/main/tanstack-react-query-devtools-5.69.0.tgz | |
| ls -la *.tgz | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Build and package Electron app | |
| run: pnpm run make | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: macos-app | |
| path: out/make/**/*.zip | |
| - name: Create GitHub Release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| files: | | |
| out/make/**/*.zip | |
| draft: true | |
| generate_release_notes: true |