mirror of
				https://github.com/k4yt3x/video2x.git
				synced 2025-11-03 22:21:37 +01:00 
			
		
		
		
	added pywin32 to fix build issues, renamed artifacts
This commit is contained in:
		
							parent
							
								
									f7d8d551b3
								
							
						
					
					
						commit
						12673f1c37
					
				
							
								
								
									
										20
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@ -20,9 +20,9 @@ jobs:
 | 
				
			|||||||
          python-version: 3.8
 | 
					          python-version: 3.8
 | 
				
			||||||
      - name: Install dependencies
 | 
					      - name: Install dependencies
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          python -m pip install --upgrade pip
 | 
					          python -m pip install -U pip
 | 
				
			||||||
          pip install pyinstaller
 | 
					          pip install -U pyinstaller pywin32
 | 
				
			||||||
          pip install -r requirements.txt
 | 
					          pip install -U -r requirements.txt
 | 
				
			||||||
      - name: Build Video2X CLI
 | 
					      - name: Build Video2X CLI
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          pyinstaller --noconfirm --log-level=WARN `
 | 
					          pyinstaller --noconfirm --log-level=WARN `
 | 
				
			||||||
@ -48,13 +48,13 @@ jobs:
 | 
				
			|||||||
              video2x_setup.py
 | 
					              video2x_setup.py
 | 
				
			||||||
      - name: Collect artifacts into folder
 | 
					      - name: Collect artifacts into folder
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          New-Item "nightly-light\" -ItemType Directory
 | 
					          New-Item "video2x-nightly-win32-light\" -ItemType Directory
 | 
				
			||||||
          Copy-Item "dist\video2x.exe" -Destination "nightly-light\"
 | 
					          Copy-Item "dist\video2x.exe" -Destination "video2x-nightly-win32-light\"
 | 
				
			||||||
          Copy-Item "dist\video2x_gui.exe" -Destination "nightly-light\"
 | 
					          Copy-Item "dist\video2x_gui.exe" -Destination "video2x-nightly-win32-light\"
 | 
				
			||||||
          Copy-Item "dist\video2x_setup.exe" -Destination "nightly-light\"
 | 
					          Copy-Item "dist\video2x_setup.exe" -Destination "video2x-nightly-win32-light\"
 | 
				
			||||||
          Copy-Item "video2x.yaml" -Destination "nightly-light\"
 | 
					          Copy-Item "video2x.yaml" -Destination "video2x-nightly-win32-light\"
 | 
				
			||||||
      - name: Upload artifacts
 | 
					      - name: Upload artifacts
 | 
				
			||||||
        uses: actions/upload-artifact@v2
 | 
					        uses: actions/upload-artifact@v2
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          name: nightly-light
 | 
					          name: video2x-nightly-win32-light
 | 
				
			||||||
          path: src/nightly-light/
 | 
					          path: src/video2x-nightly-win32-light/
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user