Skip to content

Commit

Permalink
Merge pull request HelpChat#113 from HelpChat/feature/publish-build-r…
Browse files Browse the repository at this point in the history
…esult
  • Loading branch information
darbyjack authored Jun 24, 2024
2 parents 151e35c + 4639486 commit eb21b49
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,19 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Add SHORT_SHA env property with commit short sha
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV

- name: Build with Gradle Wrapper
run: ./gradlew shadowJar
env:
BUILD_NUMBER: 'PR-${{ github.event.number }}-${{ env.SHORT_SHA }}'

- name: Upload build
uses: actions/[email protected]
with:
name: 'DeluxeMenus build PR-${{ github.event.number }}-${{ env.SHORT_SHA }}'
path: build/libs

# NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html).
# If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version.
Expand Down

0 comments on commit eb21b49

Please sign in to comment.