ci: Windows doesn't support this syntax, use action syntax instead
This commit is contained in:
parent
c13f9c02ba
commit
b1715f4323
2 changed files with 15 additions and 6 deletions
19
.github/workflows/publish.yml
vendored
19
.github/workflows/publish.yml
vendored
|
|
@ -39,11 +39,20 @@ jobs:
|
|||
- name: Publish
|
||||
run: |
|
||||
pnpm run publish
|
||||
if [ "${{ matrix.os }}" = "macos-latest" ]; then
|
||||
pnpm run publish --arch=x64
|
||||
elif [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
|
||||
pnpm run publish --arch=arm64
|
||||
fi
|
||||
env:
|
||||
PLATFORM: ${{ matrix.os }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Publish macOS x64
|
||||
if: matrix.os == 'macos-latest'
|
||||
run: pnpm run publish --arch=x64
|
||||
env:
|
||||
PLATFORM: ${{ matrix.os }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Publish Linux arm64
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: pnpm run publish --arch=arm64
|
||||
env:
|
||||
PLATFORM: ${{ matrix.os }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "stoat-desktop",
|
||||
"productName": "stoat-desktop",
|
||||
"version": "1.1.10",
|
||||
"version": "1.1.11",
|
||||
"main": ".vite/build/main.js",
|
||||
"repository": "stoatchat/desktop",
|
||||
"scripts": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue