fix lint action #3
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Release | |
| on: | |
| push: | |
| tags: | |
| - "*" | |
| jobs: | |
| ubuntu-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/[email protected] | |
| - name: PyInstaller Windows | |
| uses: JackMcKew/pyinstaller-action-windows | |
| with: | |
| path: . | |
| - name: Upload PyInstaller Output | |
| uses: actions/[email protected] | |
| with: | |
| name: pyinstaller-output | |
| path: ./dist | |
| windows-build-and-release: | |
| permissions: | |
| contents: write | |
| runs-on: windows-latest | |
| needs: ubuntu-build | |
| steps: | |
| - name: Checkout code | |
| uses: actions/[email protected] | |
| - name: Download PyInstaller Output | |
| uses: actions/[email protected] | |
| with: | |
| name: pyinstaller-output | |
| path: ./dist | |
| - name: Inno Setup Action | |
| uses: Minionguyjpro/[email protected] | |
| with: | |
| path: bot_setup.iss | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: windows_installer.exe | |
| generate_release_notes: true |