Update update-release-assets.yml
This commit is contained in:
17
.github/workflows/update-release-assets.yml
vendored
17
.github/workflows/update-release-assets.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user