You've already forked setup-python
							
							
				mirror of
				https://github.com/actions/setup-python.git
				synced 2025-11-04 08:46:41 +07:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			v2.3.3
			...
			releases/v
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| e9aba2c848 | 
							
								
								
									
										2
									
								
								.github/workflows/test-pypy.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/test-pypy.yml
									
									
									
									
										vendored
									
									
								
							@ -18,7 +18,7 @@ jobs:
 | 
			
		||||
    strategy:
 | 
			
		||||
      fail-fast: false
 | 
			
		||||
      matrix:
 | 
			
		||||
        os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-latest]
 | 
			
		||||
        os: [macos-latest, windows-latest, ubuntu-latest]
 | 
			
		||||
        pypy:
 | 
			
		||||
        - 'pypy-2.7'
 | 
			
		||||
        - 'pypy-3.7'
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										15
									
								
								.github/workflows/test-python.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								.github/workflows/test-python.yml
									
									
									
									
										vendored
									
									
								
							@ -18,7 +18,7 @@ jobs:
 | 
			
		||||
    strategy:
 | 
			
		||||
      fail-fast: false
 | 
			
		||||
      matrix:
 | 
			
		||||
        os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-20.04]
 | 
			
		||||
        os: [macos-latest, windows-latest, ubuntu-20.04]
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: Checkout
 | 
			
		||||
      uses: actions/checkout@v2
 | 
			
		||||
@ -38,7 +38,7 @@ jobs:
 | 
			
		||||
    strategy:
 | 
			
		||||
      fail-fast: false
 | 
			
		||||
      matrix:
 | 
			
		||||
        os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-20.04]
 | 
			
		||||
        os: [macos-latest, windows-latest, ubuntu-20.04]
 | 
			
		||||
        python: [3.5.4, 3.6.7, 3.7.5, 3.8.1]
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: Checkout
 | 
			
		||||
@ -68,7 +68,7 @@ jobs:
 | 
			
		||||
    strategy:
 | 
			
		||||
      fail-fast: false
 | 
			
		||||
      matrix:
 | 
			
		||||
        os: [macos-latest, windows-latest, ubuntu-18.04, ubuntu-20.04]
 | 
			
		||||
        os: [macos-latest, windows-latest, ubuntu-20.04]
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: Checkout
 | 
			
		||||
      uses: actions/checkout@v2
 | 
			
		||||
@ -97,7 +97,7 @@ jobs:
 | 
			
		||||
    strategy:
 | 
			
		||||
      fail-fast: false
 | 
			
		||||
      matrix:
 | 
			
		||||
        os: [macos-10.15, windows-2019, ubuntu-18.04, ubuntu-20.04]
 | 
			
		||||
        os: [macos-11, windows-2019, ubuntu-20.04]
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: Checkout
 | 
			
		||||
      uses: actions/checkout@v2
 | 
			
		||||
@ -105,9 +105,4 @@ jobs:
 | 
			
		||||
    - name: setup-python pypy3
 | 
			
		||||
      uses: ./
 | 
			
		||||
      with:
 | 
			
		||||
        python-version: 'pypy3'
 | 
			
		||||
 | 
			
		||||
    - name: setup-python pypy2
 | 
			
		||||
      uses: ./
 | 
			
		||||
      with:
 | 
			
		||||
        python-version: 'pypy2'
 | 
			
		||||
        python-version: 'pypy-3.8'
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										3
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/setup/index.js
									
									
									
									
										vendored
									
									
								
							@ -7010,6 +7010,9 @@ function run() {
 | 
			
		||||
        try {
 | 
			
		||||
            const version = core.getInput('python-version');
 | 
			
		||||
            if (version) {
 | 
			
		||||
                if (version.trim().startsWith('2')) {
 | 
			
		||||
                    core.warning('The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672');
 | 
			
		||||
                }
 | 
			
		||||
                let pythonVersion;
 | 
			
		||||
                const arch = core.getInput('architecture') || os.arch();
 | 
			
		||||
                if (isPyPyVersion(version)) {
 | 
			
		||||
 | 
			
		||||
@ -28,6 +28,11 @@ async function run() {
 | 
			
		||||
  try {
 | 
			
		||||
    const version = core.getInput('python-version');
 | 
			
		||||
    if (version) {
 | 
			
		||||
      if (version.trim().startsWith('2')) {
 | 
			
		||||
        core.warning(
 | 
			
		||||
          'The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672'
 | 
			
		||||
        );
 | 
			
		||||
      }
 | 
			
		||||
      let pythonVersion: string;
 | 
			
		||||
      const arch: string = core.getInput('architecture') || os.arch();
 | 
			
		||||
      if (isPyPyVersion(version)) {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user