|
1 | | -name: Build YouTube Music |
| 1 | +name: Build Pear Desktop |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | push: |
|
11 | 11 | jobs: |
12 | 12 | build: |
13 | 13 | if: github.event.pull_request.draft == false |
14 | | - name: Build YouTube Music |
| 14 | + name: Build Pear Desktop |
15 | 15 | runs-on: ${{ matrix.os }} |
16 | 16 | strategy: |
17 | 17 | fail-fast: true |
@@ -45,20 +45,20 @@ jobs: |
45 | 45 |
|
46 | 46 | # Only vite build without release if it is a fork, or it is a pull-request |
47 | 47 | - name: Vite Build |
48 | | - if: github.repository == 'th-ch/youtube-music' && github.event_name == 'pull_request' |
| 48 | + if: github.repository == 'pear-devs/pear-desktop' && github.event_name == 'pull_request' |
49 | 49 | run: | |
50 | 50 | pnpm build |
51 | 51 |
|
52 | 52 | # Build and release if it's the main repository and is not pull-request |
53 | 53 | - name: Build and release on Mac |
54 | | - if: startsWith(matrix.os, 'macOS') && (github.repository == 'th-ch/youtube-music' && github.event_name != 'pull_request') |
| 54 | + if: startsWith(matrix.os, 'macOS') && (github.repository == 'pear-devs/pear-desktop' && github.event_name != 'pull_request') |
55 | 55 | env: |
56 | 56 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
57 | 57 | run: | |
58 | 58 | pnpm release:mac |
59 | 59 |
|
60 | 60 | - name: Build and release on Linux |
61 | | - if: startsWith(matrix.os, 'ubuntu') && (github.repository == 'th-ch/youtube-music' && github.event_name != 'pull_request') |
| 61 | + if: startsWith(matrix.os, 'ubuntu') && (github.repository == 'pear-devs/pear-desktop' && github.event_name != 'pull_request') |
62 | 62 | env: |
63 | 63 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
64 | 64 | run: | |
|
72 | 72 | pnpm release:linux |
73 | 73 |
|
74 | 74 | - name: Build and release on Windows |
75 | | - if: startsWith(matrix.os, 'windows') && (github.repository == 'th-ch/youtube-music' && github.event_name != 'pull_request') |
| 75 | + if: startsWith(matrix.os, 'windows') && (github.repository == 'pear-devs/pear-desktop' && github.event_name != 'pull_request') |
76 | 76 | env: |
77 | 77 | GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
78 | 78 | run: | |
|
88 | 88 |
|
89 | 89 | release: |
90 | 90 | runs-on: ubuntu-latest |
91 | | - name: Release YouTube Music |
92 | | - if: github.repository == 'th-ch/youtube-music' && github.ref == 'refs/heads/master' |
| 91 | + name: Release Pear Desktop |
| 92 | + if: github.repository == 'pear-devs/pear-desktop' && github.ref == 'refs/heads/master' |
93 | 93 | needs: build |
94 | 94 | steps: |
95 | 95 | - uses: actions/checkout@v5 |
@@ -150,11 +150,11 @@ jobs: |
150 | 150 | name: ${{ env.VERSION_TAG }} |
151 | 151 | replacebody: true |
152 | 152 | body: | |
153 | | - See [changelog](https://github.com/th-ch/youtube-music/blob/master/changelog.md#${{ env.CHANGELOG_ANCHOR }}) for the list of updates and the full diff. |
| 153 | + See [changelog](https://github.com/pear-devs/pear-desktop/blob/master/changelog.md#${{ env.CHANGELOG_ANCHOR }}) for the list of updates and the full diff. |
154 | 154 |
|
155 | 155 | Thanks to all contributors! 🏅 |
156 | 156 |
|
157 | | - (Note for Windows: `YouTube-Music-Web-Setup-${{ env.VERSION_TAG }}.exe` is an installer, and `YouTube-Music-${{ env.VERSION_TAG }}.exe` is a portable version) |
| 157 | + (Note for Windows: `Pear-Desktop-Web-Setup-${{ env.VERSION_TAG }}.exe` is an installer, and `Pear-Desktop-${{ env.VERSION_TAG }}.exe` is a portable version) |
158 | 158 |
|
159 | 159 | - name: Update changelog |
160 | 160 | if: ${{ env.VERSION_HASH == '' }} |
|
0 commit comments