Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- 'v*'
workflow_dispatch:
env:
NODE_OPTIONS: "--max_old_space_size=4096"
NODE_OPTIONS: '--max_old_space_size=4096'
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
APP_SIGNAL_REVISION: ${{ github.ref_name }}
CX_API_URL: ${{ vars.CX_API_URL }}
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ macos-12, macos-13, ubuntu-20.04, windows-latest ]
platform: [macos-13, ubuntu-20.04, windows-latest]

runs-on: ${{ matrix.platform }}
steps:
Expand All @@ -73,7 +73,7 @@ jobs:
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: Setup aarch64 requirements
if: matrix.platform == 'macos-13'
run: "rustup target add aarch64-apple-darwin"
run: 'rustup target add aarch64-apple-darwin'
- name: install frontend dependencies
run: yarn && yarn build
- name: install AzureSignTool (windows only)
Expand Down Expand Up @@ -113,10 +113,10 @@ jobs:
$jsonContent | ConvertTo-Json | Out-File -FilePath ./secrets.json -Encoding utf8
# Load content from the file
$content = Get-Content -Path "./secrets.json" -Raw

# Replace \r\n with \n
$content = $content -replace "`r`n", "`n"

# Write the content back to the file
Set-Content -Path "./secrets.json" -Value $content
shell: powershell
Expand All @@ -136,12 +136,11 @@ jobs:
releaseId: ${{ needs.create-release.outputs.release_id }}
args: ${{ matrix.platform == 'macos-13' && '--target aarch64-apple-darwin' || '' }}


publish-release:
permissions:
contents: write
runs-on: ubuntu-20.04
needs: [ create-release, build-tauri ]
needs: [create-release, build-tauri]

steps:
- name: publish release
Expand All @@ -158,4 +157,3 @@ jobs:
draft: true,
prerelease: false
})

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@code-expert/sync",
"version": "1.0.1",
"version": "1.0.2",
"description": "",
"scripts": {
"setup": "scripts/setup",
Expand Down
Loading