branches: only: - main - /^v\d+\.\d+$/ image: - Visual Studio 2019 - macOS - Ubuntu skip_branch_with_pr: true stack: python 3.10 environment: GITHUB_TOKEN: secure: c2JkUCkIoFmqWgf+a9ZZChx9WZXo9rI5xo7cG2xW7St8ybkKMs+FqCm6QemENaAU install: - pip install -r requirements.txt build_script: - flet pack main.py --name GramBotMetadataEditor --product-name GramBotMetadataEditor test: off # Publish artifacts to GitHub Releases on "tag" builds deploy: provider: GitHub auth_token: $(GITHUB_TOKEN) on: APPVEYOR_REPO_TAG: true # # Windows package # for: - matrix: only: - image: Visual Studio 2019 after_build: - 7z a GramBotMetadataEditor-windows.zip %CD%\dist\*.exe artifacts: - path: GramBotMetadataEditor-windows.zip # # macOS package # - matrix: only: - image: macOS after_build: - tar -czvf GramBotMetadataEditor-macos.tar.gz -C dist GramBotMetadataEditor.app artifacts: - path: GramBotMetadataEditor-macos.tar.gz # # Linux package # - matrix: only: - image: Ubuntu after_build: - tar -czvf GramBotMetadataEditor-linux.tar.gz -C dist GramBotMetadataEditor artifacts: - path: GramBotMetadataEditor-linux.tar.gz