Skip to content

Commit 1c63373

Browse files
SessionHero01SessionHero01
authored andcommitted
Better logging and corrected gradle task
1 parent 3716ae4 commit 1c63373

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
- name: Gather version name from git describe
3939
id: version
4040
if: github.event_name == 'push'
41-
run: echo version=$(git describe --tags --dirty) >> $GITHUB_OUTPUT
41+
run: echo version=$(git describe --tags --dirty) | tee $GITHUB_OUTPUT
4242

4343
- name: Publish to GitHub Packages
4444
if: github.event_name == 'push'
45-
run: ./gradlew publish
45+
run: ./gradlew publishAllPublicationsToGithubRepository
4646
env:
4747
GITHUB_USER: ${{ github.actor }}
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

library/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ publishing {
7777

7878
repositories {
7979
maven {
80-
name = "libsession-util-android"
80+
name = "local"
8181
url = uri(layout.buildDirectory.dir("repo"))
8282
}
8383

@@ -87,7 +87,7 @@ publishing {
8787
// Only enable the github remote repository if credentials are given
8888
if (githubUser.isNotBlank() && githubToken.isNotBlank()) {
8989
maven {
90-
name = "libsession-util-android"
90+
name = "github"
9191
url =
9292
uri("https://maven.pkg.github.com/session-foundation/libsession-android")
9393
credentials {

0 commit comments

Comments
 (0)