debug(ci): windows not being picked correctly

This commit is contained in:
Neko Ayaka
2025-06-18 15:01:38 +08:00
parent 5fd9cef45d
commit 07950780eb
2 changed files with 2 additions and 7 deletions
+1 -6
View File
@@ -34,7 +34,7 @@ jobs:
- name: Get Product Name
run: |
echo "PRODUCT_NAME=$(jq -r '.productName' apps/stage-tamagotchi/src-tauri/tauri.conf.json)" >> $GITHUB_ENV
echo "PRODUCT_NAME=$(node -p 'require("./apps/stage-tamagotchi/src-tauri/tauri.conf.json").productName')" >> $GITHUB_ENV
- name: Install pnpm
uses: pnpm/action-setup@v4
@@ -73,15 +73,10 @@ jobs:
- 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 bundle/ || echo "bundle directory doesn't exist after rename"
- name: Upload To GitHub Releases
uses: softprops/action-gh-release@v2
with:
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
- name: Get Product Name
run: |
echo "PRODUCT_NAME=$(jq -r '.productName' apps/stage-tamagotchi/src-tauri/tauri.conf.json)" >> $GITHUB_ENV
echo "PRODUCT_NAME=$(node -p 'require("./apps/stage-tamagotchi/src-tauri/tauri.conf.json").productName')" >> $GITHUB_ENV
- name: Install pnpm
uses: pnpm/action-setup@v4