Skip to content

Commit

Permalink
Fix a lib publication version
Browse files Browse the repository at this point in the history
  • Loading branch information
kunyavskiy committed Feb 24, 2024
1 parent a3546c2 commit a87d6f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/release-lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ on:
version:
description: Name of release
required: true
publish:
type: boolean
description: Would release be published
required: true
default: true
draft:
type: boolean
description: Publish draft first
required: true
default: true

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}-instance
Expand All @@ -41,7 +30,7 @@ jobs:
uses: gradle/actions/setup-gradle@v3

- name: Publish package
run: ./gradlew publish
run: ./gradlew publish --scan -Pnpm.download=false -Pbuild_version=${{ github.event.inputs.version }} -i
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ subprojects {
}
from(components["java"])
groupId = "org.icpclive"
version = rootProject.findProperty("build_version")!!.toString()
artifactId = when (val name = this@subprojects.name){
"plugins" -> "org.icpclive.cds.full"
else -> "org.icpclive.cds.$name"
Expand Down

0 comments on commit a87d6f8

Please sign in to comment.