mirror of
https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder.git
synced 2025-09-02 22:49:16 +00:00
Compare commits
2 Commits
build-3c21
...
build-047f
Author | SHA1 | Date | |
---|---|---|---|
047f51fd96 | |||
08da50705c |
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
@@ -1,17 +0,0 @@
|
||||
on: [push]
|
||||
|
||||
name: Build
|
||||
|
||||
jobs:
|
||||
build-ubuntu:
|
||||
name: Commit release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup JDK
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 11
|
||||
- name: Build
|
||||
run: ./gradlew build packageUberJarForCurrentOS
|
2
.github/workflows/commit-release.yml
vendored
2
.github/workflows/commit-release.yml
vendored
@@ -44,6 +44,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: "core/build/compose/jars/*.jar"
|
||||
asset_path: "./core/build/compose/jars/kmppscriptbuilder.core-linux-x64-${{ env.version }}${{ env.additional_version }}.jar"
|
||||
asset_name: KotlinPublicationScriptsBuilder-linux-x64.jar
|
||||
asset_content_type: application/java-archive
|
||||
|
@@ -86,6 +86,10 @@ return """
|
||||
name = "$headerName"
|
||||
value = project.hasProperty('${headerValueProperty}') ? project.property('${headerValueProperty}') : System.getenv('${headerValueProperty}')
|
||||
}
|
||||
|
||||
authentication {
|
||||
header(HttpHeaderAuthentication)
|
||||
}
|
||||
"""
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user