Unverified Commit 6e71768a authored by NicolaiO's avatar NicolaiO 🐼
Browse files

Publish GitHub release with GitHub Actions

parent 3e409f00
Pipeline #8568 passed with stage
in 1 minute and 54 seconds
......@@ -25,4 +25,8 @@ jobs:
env:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
run: ./gradlew jib
\ No newline at end of file
run: ./gradlew jib
- name: Publish Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew githubRelease
\ No newline at end of file
......@@ -12,6 +12,7 @@ plugins {
id "com.palantir.git-version" version "0.12.3"
id "ca.cutterslade.analyze" version "1.4.1"
id "com.google.cloud.tools.jib" version "2.7.1"
id "com.github.breadmoirai.github-release" version "2.2.12"
}
version versionDetails().lastTag + "-" + versionDetails().gitHash
......@@ -148,3 +149,10 @@ jar.archiveVersion.convention(null)
// disable tar distribution to avoid redundant artifacts
distTar.enabled = false
githubRelease {
token System.getenv("GITHUB_TOKEN") ?: ""
owner "TIGERs-Mannheim"
repo "AutoReferee"
releaseAssets distZip
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment