Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamCalculator authored Jul 18, 2024
1 parent f69eebd commit 70b4e94
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
contents: read

steps:
- name: Set environment variable
run: echo "MY_SHA_TRIM={${{ github.sha }}:0:7}" >> $GITHUB_ENV

- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
Expand All @@ -44,12 +47,12 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: dynamicpack-fabric-builds-${{ github.ref }}
name: dynamicpack-fabric-builds-${{ github.MY_SHA_TRIM }}
path: fabric/build/libs/

- uses: actions/upload-artifact@v4
with:
name: dynamicpack-common-builds-${{ github.ref }}
name: dynamicpack-common-builds-${{ github.MY_SHA_TRIM }}
path: common/build/libs/

# NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html).
Expand Down

0 comments on commit 70b4e94

Please sign in to comment.