File tree 4 files changed +12
-10
lines changed
4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 44
44
asset_name : grammars.zip
45
45
asset_content_type : application/zip
46
46
- name : Deploy Docker image to GitHub Packages
47
- run : ./scripts/deploy-docker
47
+ uses : docker/build-push-action@v1
48
+ with :
49
+ username : ${{ github.actor }}
50
+ password : ${{ secrets.GITHUB_TOKEN }}
51
+ registry : docker.pkg.github.com
52
+ repository : fwcd/kotlin-language-server/server
53
+ tag_with_ref : true
48
54
- name : Deploy Maven artifacts to GitHub Packages
49
- run : ./scripts/deploy-maven
55
+ run : ./gradlew :shared:publish :server:publish
56
+ env :
57
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ configure(subprojects.findAll { it.name != 'grammars' }) {
19
19
name = ' GitHubPackages'
20
20
url = uri(' https://maven.pkg.github.com/fwcd/kotlin-language-server' )
21
21
credentials {
22
- username = project . findProperty( ' gpr.user ' ) ?: System . getenv(' GPR_USERNAME ' )
23
- password = project . findProperty( ' gpr.key ' ) ?: System . getenv(' GPR_PASSWORD ' )
22
+ username = System . getenv(' GITHUB_ACTOR ' )
23
+ password = System . getenv(' GITHUB_TOKEN ' )
24
24
}
25
25
}
26
26
}
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments