Use scoped RELEASE_TOKEN instead of GITHUB_TOKEN
Build Lotus Chat Desktop / build-linux (push) Successful in 23m13s
Build Lotus Chat Desktop / build-windows (push) Failing after 30m28s

This commit is contained in:
2026-06-06 22:53:16 -04:00
parent b2288bc9b2
commit df39489916
+2 -2
View File
@@ -42,7 +42,7 @@ jobs:
- name: Upload to release
shell: powershell
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: |
$VERSION = (Get-Content src-tauri\tauri.conf.json | ConvertFrom-Json).version
@@ -117,7 +117,7 @@ jobs:
- name: Upload to release
env:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: |
VERSION=$(python3 -c "import json; print(json.load(open('src-tauri/tauri.conf.json'))['version'])")
# Get or create the latest release