updating build.yaml
This commit is contained in:
		@@ -1,10 +1,10 @@
 | 
				
			|||||||
name: Build Inex Executable
 | 
					name: Build
 | 
				
			||||||
run-name: Deploy to ${{ inputs.deploy_target }} by @${{ gitea.actor }}
 | 
					
 | 
				
			||||||
on: [push]
 | 
					on: push
 | 
				
			||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  linux:
 | 
					  build-linux-binary:
 | 
				
			||||||
    runs-on: ubuntu-22.04
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@v4
 | 
					    - uses: actions/checkout@v4
 | 
				
			||||||
    - uses: actions/setup-python@v5
 | 
					    - uses: actions/setup-python@v5
 | 
				
			||||||
@@ -15,7 +15,13 @@ jobs:
 | 
				
			|||||||
    - run: apt-get install unixodbc -y
 | 
					    - run: apt-get install unixodbc -y
 | 
				
			||||||
    - run: pip install -r requirements.txt
 | 
					    - run: pip install -r requirements.txt
 | 
				
			||||||
    - run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py
 | 
					    - run: pyinstaller --noconfirm --onefile --console ${{ gitea.workspace }}/inex.py
 | 
				
			||||||
    - uses: actions/upload-artifact@v3
 | 
					    - uses: softprops/action-gh-release@v2
 | 
				
			||||||
 | 
					    - name: Release
 | 
				
			||||||
 | 
					      uses: softprops/action-gh-release@v2
 | 
				
			||||||
 | 
					      if: startsWith(github.ref, 'refs/tags/')
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        name: Inex
 | 
					        files: ${{ gitea.workspace }}/dist/inex
 | 
				
			||||||
        path: ${{ gitea.workspace }}/dist/inex
 | 
					  build-windows-binary:
 | 
				
			||||||
 | 
					    runs-on: windows
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      
 | 
				
			||||||
		Reference in New Issue
	
	Block a user