Update update-release-assets.yml

This commit is contained in:
Game_Time
2025-08-17 22:08:55 +05:00
committed by GitHub
parent fe0fee097a
commit 40f6d99153

View File

@@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ macos-latest, windows-latest ]
os: [ windows-latest ]
steps:
- name: Checkout
@@ -30,12 +30,6 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt pyinstaller pillow
- name: Build app (macOS)
if: startsWith(matrix.os, 'macos')
run: |
python build.py --name ChatMock --entry app_qt.py --dmg
mv dist/ChatMock.dmg dist/ChatMock-macos.dmg
- name: Build app (Windows)
if: startsWith(matrix.os, 'windows')
shell: pwsh
@@ -48,13 +42,8 @@ jobs:
id: asset
shell: bash
run: |
if [[ "${{ matrix.os }}" == macos-* ]]; then
echo "name=ChatMock-macos.dmg" >> $GITHUB_OUTPUT
echo "path=dist/ChatMock-macos.dmg" >> $GITHUB_OUTPUT
else
echo "name=ChatMock-windows.zip" >> $GITHUB_OUTPUT
echo "path=dist/ChatMock-windows.zip" >> $GITHUB_OUTPUT
fi
echo "name=ChatMock-windows.zip" >> $GITHUB_OUTPUT
echo "path=dist/ChatMock-windows.zip" >> $GITHUB_OUTPUT
- name: Get latest release
id: latest_release