Skip to content

Commit 74058b5

Browse files
run on Windows
1 parent 1e08723 commit 74058b5

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/build-module.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,28 @@ on:
99
workflow_dispatch:
1010
jobs:
1111
build:
12-
runs-on: ubuntu-latest
12+
runs-on: windows-latest
1313
steps:
14-
- uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 #4.7.1
15-
with:
16-
distribution: 'adopt'
17-
java-version: '21'
18-
- uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 #4.3.1
19-
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2015
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
2116
with:
2217
repository: 'mendixlabs/mendix-gradle-plugin'
2318
path: 'mendix-gradle-plugin'
2419
ref: '114bde309b52b037583d95a9beffee18eb71b65f'
2520
ssh-key: ${{ secrets.MENDIX_GRADLE_PLUGIN_SSH }}
21+
22+
- uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 #4.7.1
23+
with:
24+
distribution: 'adopt'
25+
java-version: '21'
26+
- uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 #4.3.1
27+
2628
- name: Build mendix-gradle-plugin
2729
run: |
2830
cd mendix-gradle-plugin
2931
echo "kotlin.jvm.target.validation.mode = IGNORE" >> gradle.properties
3032
./gradlew build publishToMavenLocal
3133
32-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3334
- name: Define MODULE_VERSION
3435
run: |
3536
MODULE_VERSION=$(./gradlew -q printModuleVersion)

0 commit comments

Comments
 (0)