mirror of
				https://github.com/JetBrains/intellij-platform-plugin-template.git
				synced 2025-06-13 13:04:09 +00:00 
			
		
		
		
	Minor fixes reported by the code inspection
This commit is contained in:
		
							parent
							
								
									54d6b64304
								
							
						
					
					
						commit
						b99218fb83
					
				| @ -1,4 +1,4 @@ | ||||
| <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2024" height="305" viewBox="0 0 745.71429 112.5"> | ||||
| <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="2024" height="305" viewBox="0 0 745.71429 112.5"> | ||||
| <defs> | ||||
|     <linearGradient id="linear-gradient" x1="21.98732" y1="-879.27899" x2="91.77826" y2="-949.06994" gradientTransform="matrix(1, 0, 0, -1, 0, -853.5)" gradientUnits="userSpaceOnUse"> | ||||
|       <stop offset="0.15937" stop-color="#3bea62"/> | ||||
|  | ||||
| Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB | 
| @ -1,4 +1,4 @@ | ||||
| <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2024" height="305" viewBox="0 0 745.71429 112.5"> | ||||
| <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="2024" height="305" viewBox="0 0 745.71429 112.5"> | ||||
|   <defs> | ||||
|     <linearGradient id="linear-gradient" x1="21.98732" y1="-879.27899" x2="91.77826" y2="-949.06994" gradientTransform="matrix(1, 0, 0, -1, 0, -853.5)" gradientUnits="userSpaceOnUse"> | ||||
|       <stop offset="0.15937" stop-color="#3bea62"/> | ||||
|  | ||||
| Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB | 
							
								
								
									
										1
									
								
								.github/template-cleanup/gradle.properties
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.github/template-cleanup/gradle.properties
									
									
									
									
										vendored
									
									
								
							| @ -26,4 +26,5 @@ gradleVersion = 7.6 | ||||
| kotlin.stdlib.default.dependency = false | ||||
| 
 | ||||
| # Enable Gradle Configuration Cache -> https://docs.gradle.org/current/userguide/configuration_cache.html | ||||
| # suppress inspection "UnusedProperty" | ||||
| org.gradle.unsafe.configuration-cache = true | ||||
|  | ||||
							
								
								
									
										6
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,4 +1,4 @@ | ||||
| # GitHub Actions Workflow created for testing and preparing the plugin release in following steps: | ||||
| # GitHub Actions Workflow is created for testing and preparing the plugin release in the following steps: | ||||
| # - validate Gradle Wrapper, | ||||
| # - run 'test' and 'verifyPlugin' tasks, | ||||
| # - run Qodana inspections, | ||||
| @ -149,7 +149,7 @@ jobs: | ||||
|       - name: Fetch Sources | ||||
|         uses: actions/checkout@v3 | ||||
| 
 | ||||
|       # Remove old release drafts by using the curl request for the available releases with draft flag | ||||
|       # Remove old release drafts by using the curl request for the available releases with a draft flag | ||||
|       - name: Remove Old Release Drafts | ||||
|         env: | ||||
|           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
| @ -158,7 +158,7 @@ jobs: | ||||
|             --jq '.[] | select(.draft == true) | .id' \ | ||||
|             | xargs -I '{}' gh api -X DELETE repos/{owner}/{repo}/releases/{} | ||||
| 
 | ||||
|       # Create new release draft - which is not publicly visible and requires manual acceptance | ||||
|       # Create a new release draft which is not publicly visible and requires manual acceptance | ||||
|       - name: Create Release Draft | ||||
|         env: | ||||
|           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
|  | ||||
							
								
								
									
										7
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @ -1,7 +1,6 @@ | ||||
| # GitHub Actions Workflow created for handling the release process based on the draft release prepared | ||||
| # with the Build workflow. Running the publishPlugin task requires all of the following secrets to be be provided: | ||||
| # PUBLISH_TOKEN, PRIVATE_KEY, PRIVATE_KEY_PASSWORD, CERTIFICATE_CHAIN | ||||
| # See https://plugins.jetbrains.com/docs/intellij/plugin-signing.html for more information | ||||
| # GitHub Actions Workflow created for handling the release process based on the draft release prepared with the Build workflow. | ||||
| # Running the publishPlugin task requires all following secrets to be provided: PUBLISH_TOKEN, PRIVATE_KEY, PRIVATE_KEY_PASSWORD, CERTIFICATE_CHAIN. | ||||
| # See https://plugins.jetbrains.com/docs/intellij/plugin-signing.html for more information. | ||||
| 
 | ||||
| name: Release | ||||
| on: | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/template-cleanup.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/template-cleanup.yml
									
									
									
									
										vendored
									
									
								
							| @ -9,7 +9,7 @@ on: | ||||
| 
 | ||||
| jobs: | ||||
| 
 | ||||
|   # Run cleaning process only if workflow is triggered by the non-"intellij-platform-plugin-template" repository. | ||||
|   # Run a cleaning process only if the workflow is triggered by the non-"intellij-platform-plugin-template" repository. | ||||
|   template-cleanup: | ||||
|     name: Template Cleanup | ||||
|     runs-on: ubuntu-latest | ||||
|  | ||||
| @ -26,7 +26,7 @@ repositories { | ||||
|     mavenCentral() | ||||
| } | ||||
| 
 | ||||
| // Set the JVM language level used to build project. Use Java 11 for 2020.3+, and Java 17 for 2022.2+. | ||||
| // Set the JVM language level used to build the project. Use Java 11 for 2020.3+, and Java 17 for 2022.2+. | ||||
| kotlin { | ||||
|     jvmToolchain(11) | ||||
| } | ||||
| @ -113,7 +113,7 @@ tasks { | ||||
|     publishPlugin { | ||||
|         dependsOn("patchChangelog") | ||||
|         token.set(System.getenv("PUBLISH_TOKEN")) | ||||
|         // pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3 | ||||
|         // The pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3 | ||||
|         // Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more: | ||||
|         // https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel | ||||
|         channels.set(listOf(properties("pluginVersion").split('-').getOrElse(1) { "default" }.split('.').first())) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user