forked from recloudstream/cloudstream
		
	seconds try fixing trailers.to
This commit is contained in:
		
							parent
							
								
									8e36cf8677
								
							
						
					
					
						commit
						968f3b8b9c
					
				
					 2 changed files with 9 additions and 3 deletions
				
			
		
							
								
								
									
										5
									
								
								.github/workflows/prerelease.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/workflows/prerelease.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -36,13 +36,16 @@ jobs: | ||||||
|         TMP_KEYSTORE_FILE_PATH="${RUNNER_TEMP}"/keystore |         TMP_KEYSTORE_FILE_PATH="${RUNNER_TEMP}"/keystore | ||||||
|         mkdir -p "${TMP_KEYSTORE_FILE_PATH}" |         mkdir -p "${TMP_KEYSTORE_FILE_PATH}" | ||||||
|         echo $ENCODED_STRING | base64 -di > "${TMP_KEYSTORE_FILE_PATH}"/prerelease_keystore.keystore |         echo $ENCODED_STRING | base64 -di > "${TMP_KEYSTORE_FILE_PATH}"/prerelease_keystore.keystore | ||||||
|  |     - name: Create Local Properties File | ||||||
|  |       run: touch local.properties | ||||||
|  |     - name: Add TMDB API Key | ||||||
|  |       run: echo "TMDB_API_KEY=${{ secrets.TMDB_API_KEY }}" >> local.properties | ||||||
|     - name: Run Gradle |     - name: Run Gradle | ||||||
|       run: ./gradlew app:assemblePrerelease |       run: ./gradlew app:assemblePrerelease | ||||||
|       env: |       env: | ||||||
|         SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }} |         SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }} | ||||||
|         SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} |         SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} | ||||||
|         SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }} |         SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }} | ||||||
|         TMDB_API_KEY: ${{ secrets.TMDB_API_KEY }} |  | ||||||
|     - name: Create pre-release |     - name: Create pre-release | ||||||
|       uses: "marvinpinto/action-automatic-releases@latest" |       uses: "marvinpinto/action-automatic-releases@latest" | ||||||
|       with: |       with: | ||||||
|  |  | ||||||
|  | @ -30,19 +30,22 @@ android { | ||||||
|     compileSdkVersion 31 |     compileSdkVersion 31 | ||||||
|     buildToolsVersion "30.0.3" |     buildToolsVersion "30.0.3" | ||||||
| 
 | 
 | ||||||
|  |     def Properties properties = new Properties() | ||||||
|  |     properties.load(project.rootProject.file("local.properties").newDataInputStream()) | ||||||
|  | 
 | ||||||
|     defaultConfig { |     defaultConfig { | ||||||
|         applicationId "com.lagradost.cloudstream3" |         applicationId "com.lagradost.cloudstream3" | ||||||
|         minSdkVersion 21 |         minSdkVersion 21 | ||||||
|         targetSdkVersion 31 |         targetSdkVersion 31 | ||||||
| 
 | 
 | ||||||
|         versionCode 34 |         versionCode 34 | ||||||
|         versionName "2.2.3" |         versionName "2.3.3" | ||||||
| 
 | 
 | ||||||
|         resValue "string", "app_version", |         resValue "string", "app_version", | ||||||
|                 "${defaultConfig.versionName}${versionNameSuffix ?: ""}" |                 "${defaultConfig.versionName}${versionNameSuffix ?: ""}" | ||||||
| 
 | 
 | ||||||
|         buildConfigField("String", "BUILDDATE", "new java.text.SimpleDateFormat(\"yyyy-MM-dd HH:mm\").format(new java.util.Date(" + System.currentTimeMillis() + "L));") |         buildConfigField("String", "BUILDDATE", "new java.text.SimpleDateFormat(\"yyyy-MM-dd HH:mm\").format(new java.util.Date(" + System.currentTimeMillis() + "L));") | ||||||
|         buildConfigField("String", "TMDB_API_KEY", "\"" + System.getenv("TMDB_API_KEY") + "\"") |         buildConfigField("String", "TMDB_API_KEY", "\"" + properties.getProperty("TMDB_API_KEY", "") + "\"") | ||||||
| 
 | 
 | ||||||
|         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue