Skip to content

Commit

Permalink
build: Additional build tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Jun 3, 2024
1 parent ab34ff9 commit 4695e8d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/early-access.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
run: echo ::set-output name=version::$(cat VERSION)

- name: Release
uses: jreleaser/release-action@v1
uses: jreleaser/release-action@v2
with:
version: early-access
arguments: release
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ jobs:
VERSION=${{ github.event.inputs.version }}
echo $VERSION > VERSION
git add VERSION
sed -i -e "s/^\:project-version\:\ .*/:project-version: ${{ needs.precheck.outputs.VERSION }}/g" README.adoc
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub Action"
git commit -a -m "Releasing version $VERSION"
git push origin main
git push origin master
- name: Build
run: |
Expand All @@ -80,7 +81,7 @@ jobs:
build publishToSonatype closeAndReleaseSonatypeStagingRepository -S
- name: Release
uses: jreleaser/release-action@v1
uses: jreleaser/release-action@v2
with:
version: early-access
arguments: full-release
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ ezmorphVersion = 3.0.0
jacocoVersion = 0.8.6
junitVersion = 4.13.2
slf4jVersion = 1.7.32
slf4jTestVersion = 1.2.0
xmlunitVersion = 1.6
xomVersion = 1.3.7

kordampPluginVersion = 0.46.0
Expand Down
4 changes: 2 additions & 2 deletions subprojects/json-lib-core/json-lib-core.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ dependencies {
api("xom:xom:$xomVersion")
api("org.kordamp.ezmorph:ezmorph-core:$ezmorphVersion")

testImplementation('xmlunit:xmlunit:1.6')
testImplementation('uk.org.lidalia:slf4j-test:1.2.0')
testImplementation("xmlunit:xmlunit:$xmlunitVersion")
testImplementation("uk.org.lidalia:slf4j-test:$slf4jTestVersion")
}

0 comments on commit 4695e8d

Please sign in to comment.