@@ -57,11 +57,11 @@ jobs:
5757 save-if : " true"
5858 - uses : actions/cache@v4
5959 with :
60- path : ~/.pnpm-store
61- key : ${{ runner.os }}-pnpm -${{ hashFiles('**/pnpm-lock.yaml ') }}
60+ path : ~/.bun
61+ key : ${{ runner.os }}-bun -${{ hashFiles('**/bun.lockb ') }}
6262 restore-keys : |
63- ${{ runner.os }}-pnpm -
64- - run : npm install -g pnpm && pnpm install
63+ ${{ runner.os }}-bun -
64+ - run : curl -fsSL https://bun.sh/ install | bash && bun install
6565 - name : Import Apple Developer Certificate
6666 env :
6767 APPLE_CERTIFICATE : ${{ secrets.APPLE_CERTIFICATE }}
8383 TAURI_KEY_PASSWORD : ${{ secrets.TAURI_KEY_PASSWORD }}
8484 with :
8585 args : ${{ matrix.args }}
86-
86+
8787 - name : Rename macOS Artifacts
8888 run : |
8989 mv src-tauri/target/${{ matrix.args == '--target aarch64-apple-darwin' && 'aarch64-apple-darwin' || 'x86_64-apple-darwin' }}/release/bundle/dmg/*.dmg src-tauri/target/${{ matrix.args == '--target aarch64-apple-darwin' && 'aarch64-apple-darwin' || 'x86_64-apple-darwin' }}/release/bundle/dmg/Qopy-${{ needs.prepare.outputs.version }}_${{ matrix.arch }}.dmg
@@ -125,11 +125,11 @@ jobs:
125125 save-if : " true"
126126 - uses : actions/cache@v4
127127 with :
128- path : ~/.pnpm-store
129- key : ${{ runner.os }}-pnpm -${{ hashFiles('**/pnpm-lock.yaml ') }}
128+ path : ~/.bun
129+ key : ${{ runner.os }}-bun -${{ hashFiles('**/bun.lockb ') }}
130130 restore-keys : |
131- ${{ runner.os }}-pnpm -
132- - run : npm install -g pnpm && pnpm install
131+ ${{ runner.os }}-bun -
132+ - run : curl -fsSL https://bun.sh/ install | bash && bun install
133133 - uses : tauri-apps/tauri-action@v0
134134 env :
135135 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -189,16 +189,16 @@ jobs:
189189 save-if : " true"
190190 - uses : actions/cache@v4
191191 with :
192- path : ~/.pnpm-store
193- key : ${{ runner.os }}-pnpm -${{ hashFiles('**/pnpm-lock.yaml ') }}
192+ path : ~/.bun
193+ key : ${{ runner.os }}-bun -${{ hashFiles('**/bun.lockb ') }}
194194 restore-keys : |
195- ${{ runner.os }}-pnpm -
195+ ${{ runner.os }}-bun -
196196 - name : Install dependencies
197197 run : |
198198 sudo apt update
199199 sudo apt install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libayatana-appindicator3-dev librsvg2-dev libasound2-dev rpm
200200 echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV
201- - run : npm install -g pnpm && pnpm install
201+ - run : curl -fsSL https://bun.sh/ install | bash && bun install
202202 - name : Generate Changelog
203203 id : changelog
204204 run : |
@@ -243,21 +243,21 @@ jobs:
243243 id : release_body
244244 run : |
245245 VERSION="${{ needs.prepare.outputs.version }}"
246-
246+
247247 # Get the most recent release tag (v* tags only)
248248 LAST_TAG=$(git describe --match "v*" --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1` 2>/dev/null || echo "")
249-
249+
250250 if [ -n "$LAST_TAG" ]; then
251251 echo "Debug: Found last release tag: $LAST_TAG"
252252 CHANGES=$(git log ${LAST_TAG}..HEAD --pretty=format:"- %s")
253253 else
254254 echo "Debug: No previous release tag found, using first commit"
255255 CHANGES=$(git log --pretty=format:"- %s")
256256 fi
257-
257+
258258 echo "Debug: Changelog content:"
259259 echo "$CHANGES"
260-
260+
261261 # Calculate hashes with corrected paths
262262 WINDOWS_ARM_HASH=$(sha256sum "artifacts/windows-arm64-binaries/Qopy-${VERSION}_arm64.msi" | awk '{ print $1 }')
263263 WINDOWS_64_HASH=$(sha256sum "artifacts/windows-x64-binaries/Qopy-${VERSION}_x64.msi" | awk '{ print $1 }')
@@ -279,11 +279,11 @@ jobs:
279279
280280 RELEASE_BODY=$(cat <<-EOF
281281 ## ♻️ Changelog
282-
282+
283283 $CHANGES
284-
284+
285285 ## ⬇️ Downloads
286-
286+
287287 - [Windows (x64)](https://github.com/${{ github.repository }}/releases/download/v${VERSION}/Qopy-${VERSION}_x64.msi) - ${WINDOWS_64_HASH}
288288 - [Windows (ARM64)](https://github.com/${{ github.repository }}/releases/download/v${VERSION}/Qopy-${VERSION}_arm64.msi) - ${WINDOWS_ARM_HASH}
289289 - [macOS (Silicon)](https://github.com/${{ github.repository }}/releases/download/v${VERSION}/Qopy-${VERSION}_silicon.dmg) - ${MAC_SILICON_HASH}
@@ -312,4 +312,4 @@ jobs:
312312 artifacts/**/*.deb
313313 artifacts/**/*.AppImage
314314 artifacts/**/*.rpm
315- body : ${{ env.RELEASE_BODY }}
315+ body : ${{ env.RELEASE_BODY }}
0 commit comments