name: Build and release on: push: branches: - main tags: - v* jobs: pyinstaller-build: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v4 - name: Create Executable uses: sayyid5416/pyinstaller@v1 with: python_ver: '3.12' spec: 'build.spec' requirements: 'requirements.txt' upload_exe_with_name: 'ai-suite-rocm-${{ github.ref_name }}' - name: Release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: dist/*