mirror of
				https://github.com/AdrianKuta/Unbound-Drag-Drop.git
				synced 2025-10-31 00:13:39 +01:00 
			
		
		
		
	CI for publish to Maven Central (#1)
* Test CI * Fix env variables * CI for publishing to maven central
This commit is contained in:
		
							
								
								
									
										11
									
								
								.github/workflows/publish.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/publish.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,6 +1,7 @@ | |||||||
| name: Publish | name: Publish | ||||||
|  |  | ||||||
| on: | on: | ||||||
|  |   push: | ||||||
|   release: |   release: | ||||||
|     # We'll run this workflow when a new GitHub release is created |     # We'll run this workflow when a new GitHub release is created | ||||||
|     types: [released] |     types: [released] | ||||||
| @@ -22,8 +23,8 @@ jobs: | |||||||
|       - name: Publish to MavenCentral |       - name: Publish to MavenCentral | ||||||
|         run: ./gradlew :dragdrop:publishToMavenCentral --no-configuration-cache |         run: ./gradlew :dragdrop:publishToMavenCentral --no-configuration-cache | ||||||
|         env: |         env: | ||||||
|           ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.ORG_GRADLE_PROJECT_mavenCentralUsername }} |           ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }} | ||||||
|           ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.ORG_GRADLE_PROJECT_mavenCentralPassword }} |           ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} | ||||||
|           ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKey }} |           ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_IN_MEMORY_KEY }} | ||||||
|           ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKeyId }} |           ORG_GRADLE_PROJECT_signingInMemoryKeyId: ${{ secrets.SIGNING_IN_MEMORY_KEY_ID }} | ||||||
|           ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ORG_GRADLE_PROJECT_signingInMemoryKeyPassword }} |           ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_IN_MEMORY_KEY_PASSWORD }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 GitHub
						GitHub