mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
fix: manually set arch info for dugite postinstall script
This commit is contained in:
parent
f651270293
commit
9fa9494409
1 changed files with 10 additions and 2 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
|
@ -72,12 +72,15 @@ jobs:
|
|||
CI: true
|
||||
CI_PULL_REQUEST: ${{ github.event_name == 'pull_request' }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# for dugute, see node_modules/.pnpm/dugite@2.7.1/node_modules/dugite/script/config.js
|
||||
npm_config_arch: linux-x64
|
||||
- name: Make Linux (arm64)
|
||||
run: pnpm run make:linux-arm
|
||||
env:
|
||||
CI: true
|
||||
CI_PULL_REQUEST: ${{ github.event_name == 'pull_request' }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
npm_config_arch: linux-arm64
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
|
|
@ -136,10 +139,10 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-pnpm-store-
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
- name: Remove buggy dependencies
|
||||
run: pnpm remove registry-js
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Make macOS (x64)
|
||||
run: pnpm run make:mac-x64
|
||||
|
|
@ -149,6 +152,7 @@ jobs:
|
|||
CI: true
|
||||
CI_PULL_REQUEST: ${{ github.event_name == 'pull_request' }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
npm_config_arch: darwin-x64
|
||||
- name: Make macOS (arm64)
|
||||
run: pnpm run make:mac-arm
|
||||
env:
|
||||
|
|
@ -157,6 +161,7 @@ jobs:
|
|||
CI: true
|
||||
CI_PULL_REQUEST: ${{ github.event_name == 'pull_request' }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
npm_config_arch: darwin-arm64
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
|
|
@ -240,6 +245,7 @@ jobs:
|
|||
CI: true
|
||||
CI_PULL_REQUEST: ${{ github.event_name == 'pull_request' }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
npm_config_arch: win32-x64
|
||||
# - name: Rename (x64)
|
||||
# run: |
|
||||
# Get-ChildItem out/make/wix/x64
|
||||
|
|
@ -252,6 +258,8 @@ jobs:
|
|||
CI: true
|
||||
CI_PULL_REQUEST: ${{ github.event_name == 'pull_request' }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# based on TiddlyGit-Desktop/node_modules/.pnpm/dugite@2.7.1/node_modules/dugite/script/config.js
|
||||
npm_config_arch: win32-ia32
|
||||
# - name: Rename (arm64)
|
||||
# run: |
|
||||
# Get-ChildItem out/make/wix/arm64
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue