forked from HelpChat/DeluxeMenus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request HelpChat#113 from HelpChat/feature/publish-build-r…
…esult
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|