mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	replace deprecated add-path and set-env
This commit is contained in:
		
							parent
							
								
									e73218c2d5
								
							
						
					
					
						commit
						48b25f06ba
					
				
							
								
								
									
										8
									
								
								.github/workflows/test-windows.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/test-windows.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -54,7 +54,7 @@ jobs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Set up TCL
 | 
					    - name: Set up TCL
 | 
				
			||||||
      if: "contains(matrix.python-version, 'pypy')"
 | 
					      if: "contains(matrix.python-version, 'pypy')"
 | 
				
			||||||
      run: Write-Host "::set-env name=TCL_LIBRARY::$env:pythonLocation\tcl\tcl8.5"
 | 
					      run: echo "TCL_LIBRARY=$env:pythonLocation\tcl\tcl8.5" >> $GITHUB_ENV
 | 
				
			||||||
      shell: pwsh
 | 
					      shell: pwsh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Print build system information
 | 
					    - name: Print build system information
 | 
				
			||||||
| 
						 | 
					@ -71,10 +71,10 @@ jobs:
 | 
				
			||||||
    - name: Install dependencies
 | 
					    - name: Install dependencies
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
        7z x winbuild\depends\nasm-2.14.02-win64.zip "-o$env:RUNNER_WORKSPACE\"
 | 
					        7z x winbuild\depends\nasm-2.14.02-win64.zip "-o$env:RUNNER_WORKSPACE\"
 | 
				
			||||||
        Write-Host "::add-path::$env:RUNNER_WORKSPACE\nasm-2.14.02"
 | 
					        echo "$env:RUNNER_WORKSPACE\nasm-2.14.02" >> $GITHUB_PATH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        winbuild\depends\gs9533w32.exe /S
 | 
					        winbuild\depends\gs9533w32.exe /S
 | 
				
			||||||
        Write-Host "::add-path::C:\Program Files (x86)\gs\gs9.53.3\bin"
 | 
					        echo "C:\Program Files (x86)\gs\gs9.53.3\bin" >> $GITHUB_PATH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        xcopy /s winbuild\depends\test_images\* Tests\images\
 | 
					        xcopy /s winbuild\depends\test_images\* Tests\images\
 | 
				
			||||||
      shell: pwsh
 | 
					      shell: pwsh
 | 
				
			||||||
| 
						 | 
					@ -224,7 +224,7 @@ jobs:
 | 
				
			||||||
      - uses: actions/checkout@v2
 | 
					      - uses: actions/checkout@v2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Set up shell
 | 
					      - name: Set up shell
 | 
				
			||||||
        run: echo ::add-path::C:\msys64\usr\bin\
 | 
					        run: echo "C:\msys64\usr\bin\" >> $GITHUB_PATH
 | 
				
			||||||
        shell: pwsh
 | 
					        shell: pwsh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Install Dependencies
 | 
					      - name: Install Dependencies
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user