File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 27
27
- name : Use tag as version
28
28
run : echo "${GITHUB_REF#refs/*/}" > version.txt
29
29
- name : Build and Publish Artifacts
30
- run : ./gradlew build publish -PciBuild=true -Partifacts.itemis.cloud.user=${{secrets.ARTIFACTS_ITEMIS_CLOUD_USER}} -Partifacts.itemis.cloud.pw=${{secrets.ARTIFACTS_ITEMIS_CLOUD_PW}} -Pgpr.user=${{ github.actor }} -Pgpr.key=${{ secrets.GITHUB_TOKEN }}
30
+ run : ./gradlew build publish -PciBuild=true -Partifacts.itemis.cloud.user=${{secrets.ARTIFACTS_ITEMIS_CLOUD_USER}} -Partifacts.itemis.cloud.pw=${{secrets.ARTIFACTS_ITEMIS_CLOUD_PW}} -Pgpr.user=${{ github.actor }} -Pgpr.key=${{ secrets.GITHUB_TOKEN }} -Pgpr.universalkey=${{ secrets.GHP_UNIVERSAL_PUBLISH_TOKEN }}
31
31
env :
32
32
NODE_AUTH_TOKEN : ${{ secrets.ARTIFACTS_ITEMIS_CLOUD_NPM_TOKEN }}
33
33
- name : Set up QEMU
Original file line number Diff line number Diff line change @@ -69,12 +69,16 @@ subprojects {
69
69
" model-server" ,
70
70
" model-server-api" )){
71
71
url = uri(" https://maven.pkg.github.com/modelix/modelix" )
72
+ credentials {
73
+ username = project.findProperty(" gpr.user" ) as ? String ? : System .getenv(" GITHUB_ACTOR" )
74
+ password = project.findProperty(" gpr.universalkey" ) as ? String ? : System .getenv(" GHP_UNIVERSAL_TOKEN" )
75
+ }
72
76
} else {
73
77
url = uri(" https://maven.pkg.github.com/modelix/modelix.core" )
74
- }
75
- credentials {
76
- username = project.findProperty(" gpr.user " ) as ? String ? : System .getenv(" GITHUB_ACTOR " )
77
- password = project.findProperty( " gpr.key " ) as ? String ? : System .getenv( " GITHUB_TOKEN " )
78
+ credentials {
79
+ username = project.findProperty( " gpr.user " ) as ? String ? : System .getenv( " GITHUB_ACTOR " )
80
+ password = project.findProperty(" gpr.key " ) as ? String ? : System .getenv(" GITHUB_TOKEN " )
81
+ }
78
82
}
79
83
}
80
84
}
You can’t perform that action at this time.
0 commit comments