Skip to content

Commit

Permalink
Build improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
p3t committed May 14, 2024
1 parent 61d9cb0 commit d9286bd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,16 @@ jobs:
with:
build-scan-publish: true
build-scan-terms-of-service-url: "https://gradle.com/help/legal-terms-of-use"
build-scan-terms-of-service-agree: "yes"
build-scan-terms-of-service-agree: "yes"

upload-artifacts:

runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: build/libs/*.jar
3 changes: 2 additions & 1 deletion .github/workflows/publish-githubpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ jobs:
- name: "Release Version"
id: release_version
run: |
VERSION=${RELEASE_TAG#v}
echo "BUILD_VERSION=${RELEASE_TAG#v}" >> "$GITHUB_ENV"
echo "BUILD_VERSION=${RELEASE_TAG#v}" >> "$GITHUB_OUTPUT"
echo "::notice title='Publishing release'::Release Version is ${RELEASE_TAG#v}"
echo "Release version is $VERSION"
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
Expand Down

0 comments on commit d9286bd

Please sign in to comment.