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: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ macos-latest, windows-latest ] os: [ windows-latest ]
steps: steps:
- name: Checkout - name: Checkout
@@ -30,12 +30,6 @@ jobs:
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -r requirements.txt pyinstaller pillow 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) - name: Build app (Windows)
if: startsWith(matrix.os, 'windows') if: startsWith(matrix.os, 'windows')
shell: pwsh shell: pwsh
@@ -48,13 +42,8 @@ jobs:
id: asset id: asset
shell: bash shell: bash
run: | 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 "name=ChatMock-windows.zip" >> $GITHUB_OUTPUT
echo "path=dist/ChatMock-windows.zip" >> $GITHUB_OUTPUT echo "path=dist/ChatMock-windows.zip" >> $GITHUB_OUTPUT
fi
- name: Get latest release - name: Get latest release
id: latest_release id: latest_release