debug(ci): windows not being picked correctly

This commit is contained in:
Neko Ayaka
2025-06-18 12:34:05 +08:00
parent c433d31cc6
commit 5fd9cef45d
2 changed files with 8 additions and 9 deletions
+7 -8
View File
@@ -36,12 +36,6 @@ jobs:
run: |
echo "PRODUCT_NAME=$(jq -r '.productName' apps/stage-tamagotchi/src-tauri/tauri.conf.json)" >> $GITHUB_ENV
- name: Debug Environment
run: |
echo "PRODUCT_NAME: '${{ env.PRODUCT_NAME }}'"
ls -la bundle/ || echo "bundle directory doesn't exist"
find . -name "*setup.exe" -o -name "*.AppImage" -o -name "*.dmg" || echo "No artifacts found"
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
@@ -61,7 +55,7 @@ jobs:
with:
targets: ${{ matrix.target }}
- name: install system dependencies (ubuntu only)
- name: Install system dependencies (Ubuntu Only)
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm'
run: |
sudo apt-get update
@@ -76,12 +70,17 @@ jobs:
- name: Build Application
run: cd apps/stage-tamagotchi && pnpm tauri build --target ${{ matrix.target }}
- name: Debug Environment
run: |
echo "PRODUCT_NAME: '${{ env.PRODUCT_NAME }}'"
ls bundle/ || echo "bundle directory doesn't exist"
- name: Rename Artifacts
run: node apps/stage-tamagotchi/scripts/rename-artifacts.js ${{ matrix.target }}
- name: Debug After Rename
run: |
ls -la bundle/ || echo "bundle directory doesn't exist after rename"
ls bundle/ || echo "bundle directory doesn't exist after rename"
- name: Upload To GitHub Releases
uses: softprops/action-gh-release@v2
+1 -1
View File
@@ -52,7 +52,7 @@ jobs:
with:
targets: ${{ matrix.target }}
- name: install system dependencies (ubuntu only)
- name: Install system dependencies (Ubuntu Only)
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm'
run: |
sudo apt-get update