Skip to content

Commit

Permalink
Fix path to asset
Browse files Browse the repository at this point in the history
  • Loading branch information
nickebbitt committed Mar 17, 2020
1 parent dcf72a2 commit 925b655
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: build/libs/chaos-kraken-0.0.1-SNAPSHOT.jar
asset_path: ./build/libs/chaos-kraken-0.0.1-SNAPSHOT.jar
asset_name: chaos-kraken.jar
asset_content_type: application/jar
17 changes: 9 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,14 @@ publishing {
}

repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/autotraderuk/chaos-kraken")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
// maven {
// name = "GitHubPackages"
// url = uri("https://maven.pkg.github.com/autotraderuk/chaos-kraken")
// credentials {
// username = System.getenv("GITHUB_ACTOR")
// password = System.getenv("GITHUB_TOKEN")
// }
// }
mavenLocal()
}
}

0 comments on commit 925b655

Please sign in to comment.