Skip to content

Commit

Permalink
Propert configuration of build step
Browse files Browse the repository at this point in the history
  • Loading branch information
danielepantaleone committed Oct 31, 2023
1 parent 099ad62 commit 5818d42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/android-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ jobs:
- name: Build
run: ./gradlew build
- name: Publish
run: ./gradlew publish
run: ./gradlew publish
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
4 changes: 2 additions & 2 deletions kttestexpectation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ publishing {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/danielepantaleone/KTTestExpectation")
credentials {
username = System.getenv("GP_USR")
password = System.getenv("GP_KEY")
username = 'danielepantaleone'
password = System.getenv("GITHUB_TOKEN")
}
}
}
Expand Down

0 comments on commit 5818d42

Please sign in to comment.