Skip to content

Commit 5217134

Browse files
authored
release action fixes (#31)
release action fixes, add publish props, version update
1 parent 1baaa82 commit 5217134

2 files changed

Lines changed: 15 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,20 @@ jobs:
2020
- name: Set up JDK 11
2121
uses: actions/setup-java@v1
2222
with:
23-
java-version: '11.0.9'
23+
java-version: '11.0.11'
2424
architecture: x64
25-
- name: Grant execute permission for gradlew
25+
- name: Grant execute permission for generator gradlew
26+
working-directory: ./generator
2627
run: chmod +x gradlew
27-
- name: Run Build
28-
run: ./gradlew build --stacktrace
28+
- name: Gradle Generator Build Task
29+
working-directory: ./generator
30+
run: ./gradlew build --stacktrace --info
31+
- name: Grant execute permission for module plugin gradlew
32+
working-directory: ./gradle-module-plugin
33+
run: chmod +x gradlew
34+
- name: Gradle Module Plugin Build Task
35+
working-directory: ./gradle-module-plugin
36+
run: ./gradlew build --stacktrace --info
2937
- name: Publish Plugins
30-
# dry run for now
31-
run: ./gradlew publishPlugins --dry-run
38+
working-directory: ./gradle-module-plugin
39+
run: ./gradlew publishPlugins -Pgradle.publish.key=${{secrets.PLUGIN_PUBLISHING_KEY}} -Pgradle.publish.secret=${{secrets.PLUGIN_PUBLISHING_SECRET}}

gradle-module-plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repositories {
1919
}
2020

2121
group = "io.ia.sdk"
22-
version = "0.1.1-SNAPSHOT-1"
22+
version = "0.1.1"
2323

2424
configurations {
2525
val functionalTestImplementation by registering {

0 commit comments

Comments
 (0)