Skip to content

Commit 4570733

Browse files
authored
[FOR TESTING] Release utils to mavenLocal for testing
1 parent 18adfb4 commit 4570733

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

.github/workflows/gradle-build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,11 @@ jobs:
2121
java-version: ${{ matrix.java }}
2222
- uses: gradle/gradle-build-action@v2
2323
- run: ./gradlew clean build
24+
25+
release:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- run: |
29+
./gradlew utils:releasePrepare -PbumpType=patch
30+
echo "Release utils done!"
31+

.github/workflows/gradle-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,8 @@ jobs:
2929
./gradlew utils:releasePerform
3030
env:
3131
GITHUB_TOKEN: ${{ github.token }}
32+
33+
- run: |
34+
echo "Printing out the release output!"
35+
cd ~/.m2/repository/ai/elimu/content_provider/utils/1.2.29
36+
ls -lah

utils/build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,11 @@ publishing {
4949
}
5050
}
5151
repositories {
52-
maven {
53-
credentials(PasswordCredentials)
54-
url "https://maven.pkg.github.com/elimu-ai/content-provider"
55-
}
52+
// maven {
53+
// credentials(PasswordCredentials)
54+
// url "https://maven.pkg.github.com/elimu-ai/content-provider"
55+
// }
56+
mavenLocal()
5657
}
5758
}
5859

0 commit comments

Comments
 (0)