mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 07:13:00 +00:00 
			
		
		
		
	Bump GH actions
Old ones are deprecated.
This commit is contained in:
		
							
								
								
									
										16
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -36,7 +36,7 @@ jobs: | |||||||
|       contents: read |       contents: read | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v3 |       - uses: actions/checkout@v4 | ||||||
|       - uses: gradle/wrapper-validation-action@v1 |       - uses: gradle/wrapper-validation-action@v1 | ||||||
|  |  | ||||||
|       - name: create and checkout branch |       - name: create and checkout branch | ||||||
| @@ -47,7 +47,7 @@ jobs: | |||||||
|         run: git checkout -B "$BRANCH" |         run: git checkout -B "$BRANCH" | ||||||
|  |  | ||||||
|       - name: set up JDK 17 |       - name: set up JDK 17 | ||||||
|         uses: actions/setup-java@v3 |         uses: actions/setup-java@v4 | ||||||
|         with: |         with: | ||||||
|           java-version: 17 |           java-version: 17 | ||||||
|           distribution: "temurin" |           distribution: "temurin" | ||||||
| @@ -57,7 +57,7 @@ jobs: | |||||||
|         run: ./gradlew assembleDebug lintDebug testDebugUnitTest --stacktrace -DskipFormatKtlint |         run: ./gradlew assembleDebug lintDebug testDebugUnitTest --stacktrace -DskipFormatKtlint | ||||||
|  |  | ||||||
|       - name: Upload APK |       - name: Upload APK | ||||||
|         uses: actions/upload-artifact@v3 |         uses: actions/upload-artifact@v4 | ||||||
|         with: |         with: | ||||||
|           name: app |           name: app | ||||||
|           path: app/build/outputs/apk/debug/*.apk |           path: app/build/outputs/apk/debug/*.apk | ||||||
| @@ -80,10 +80,10 @@ jobs: | |||||||
|       contents: read |       contents: read | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v3 |       - uses: actions/checkout@v4 | ||||||
|  |  | ||||||
|       - name: set up JDK 17 |       - name: set up JDK 17 | ||||||
|         uses: actions/setup-java@v3 |         uses: actions/setup-java@v4 | ||||||
|         with: |         with: | ||||||
|           java-version: 17 |           java-version: 17 | ||||||
|           distribution: "temurin" |           distribution: "temurin" | ||||||
| @@ -98,7 +98,7 @@ jobs: | |||||||
|           script: ./gradlew connectedCheck --stacktrace |           script: ./gradlew connectedCheck --stacktrace | ||||||
|  |  | ||||||
|       - name: Upload test report when tests fail # because the printed out stacktrace (console) is too short, see also #7553 |       - name: Upload test report when tests fail # because the printed out stacktrace (console) is too short, see also #7553 | ||||||
|         uses: actions/upload-artifact@v3 |         uses: actions/upload-artifact@v4 | ||||||
|         if: failure() |         if: failure() | ||||||
|         with: |         with: | ||||||
|           name: android-test-report-api${{ matrix.api-level }} |           name: android-test-report-api${{ matrix.api-level }} | ||||||
| @@ -111,12 +111,12 @@ jobs: | |||||||
|       contents: read |       contents: read | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v3 |       - uses: actions/checkout@v4 | ||||||
|         with: |         with: | ||||||
|           fetch-depth: 0  # Shallow clones should be disabled for a better relevancy of analysis |           fetch-depth: 0  # Shallow clones should be disabled for a better relevancy of analysis | ||||||
|  |  | ||||||
|       - name: Set up JDK 17 |       - name: Set up JDK 17 | ||||||
|         uses: actions/setup-java@v3 |         uses: actions/setup-java@v4 | ||||||
|         with: |         with: | ||||||
|           java-version: 17 |           java-version: 17 | ||||||
|           distribution: "temurin" |           distribution: "temurin" | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								.github/workflows/image-minimizer.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/image-minimizer.yml
									
									
									
									
										vendored
									
									
								
							| @@ -17,9 +17,9 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v3 |       - uses: actions/checkout@v4 | ||||||
|  |  | ||||||
|       - uses: actions/setup-node@v3 |       - uses: actions/setup-node@v4 | ||||||
|         with: |         with: | ||||||
|           node-version: 16 |           node-version: 16 | ||||||
|  |  | ||||||
| @@ -27,7 +27,7 @@ jobs: | |||||||
|         run: npm i probe-image-size@7.2.3 --ignore-scripts |         run: npm i probe-image-size@7.2.3 --ignore-scripts | ||||||
|  |  | ||||||
|       - name: Minimize simple images |       - name: Minimize simple images | ||||||
|         uses: actions/github-script@v6 |         uses: actions/github-script@v7 | ||||||
|         timeout-minutes: 3 |         timeout-minutes: 3 | ||||||
|         with: |         with: | ||||||
|           script: | |           script: | | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zongle Wang
					Zongle Wang