Skip to content

Commit

Permalink
reduce code duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
svnv-svsv-jm committed Feb 18, 2024
1 parent 7549acf commit cc86616
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ on:

jobs:
deploy:
runs-on: macos-latest
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.11"]

steps:
Expand All @@ -36,6 +37,11 @@ jobs:
source venv/bin/activate
make app APPNAME="SVMoveEditor"
- name: Zip dist folder
run: |
cd dist/
zip -r kivy-app-${{ matrix.os }}.zip .
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -52,8 +58,8 @@ jobs:
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/SVMoveEditor.app
asset_name: SVMoveEditor.app.zip
asset_path: ./dist/kivy-app-${{ matrix.os }}.zip
asset_name: kivy-app-${{ matrix.os }}.zip
asset_content_type: application/zip
env:
GITHUB_TOKEN: ${{ github.token }}
59 changes: 0 additions & 59 deletions .github/workflows/test-deploy-windows.yml

This file was deleted.

0 comments on commit cc86616

Please sign in to comment.