debug(ci): windows not being picked correctly
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user