File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ allprojects {
2+ pluginManager. withPlugin( ' maven-publish' ) {
3+ publishing {
4+ repositories {
5+ maven {
6+ name = " GitHubPackages"
7+ url = " https://maven.pkg.github.com/mendix/MxPushNotifications"
8+ credentials {
9+ username = System . getenv(" GITHUB_ACTOR" )
10+ password = System . getenv(" GITHUB_TOKEN" )
11+ }
12+ }
13+ }
14+ }
15+ }
16+ }
Original file line number Diff line number Diff line change 1+ name : Run Snyk scan
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ publish :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
11+ with :
12+ path : repo
13+ sparse-checkout : .github
14+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
15+ with :
16+ repository : ' mendixlabs/mendix-gradle-plugin'
17+ ref : ' 114bde309b52b037583d95a9beffee18eb71b65f'
18+ ssh-key : ${{ secrets.MENDIX_GRADLE_PLUGIN_SSH }}
19+ ssh-strict : false
20+ - run : cp repo/.github/gradle/publish-mendix-gradle-plugin.gradle ./
21+ - uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # 4.7.1
22+ with :
23+ distribution : ' adopt'
24+ java-version : ' 21'
25+ - uses : gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 # 4.3.1
26+ - name : Build mendix-gradle-plugin
27+ run : |
28+ echo "kotlin.jvm.target.validation.mode = IGNORE" >> gradle.properties
29+ ./gradlew -I publish-mendix-gradle-plugin.gradle build publish
You can’t perform that action at this time.
0 commit comments