Skip to content

Commit

Permalink
Fix actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Archy-X committed Nov 25, 2023
1 parent bd48177 commit f1c0619
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ on:
branches: [ "master" ]
permissions:
contents: read
env:
COMMIT_HASH: ${{ substring(github.sha, 0, 7) }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: benjlevesque/[email protected]
id: short-sha
with:
length: 7
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand All @@ -24,9 +26,9 @@ jobs:
arguments: build
- uses: actions/upload-artifact@v3
with:
name: AureliumSkills-${{ env.COMMIT_HASH }}
name: AureliumSkills-${{ env.SHA }}
path: build/libs/AureliumSkills-**.jar
- uses: actions/upload-artifact@v3
with:
name: AuraSkills-${{ env.COMMIT_HASH }}
name: AuraSkills-${{ env.SHA }}
path: build/libs/AuraSkills-**.jar

0 comments on commit f1c0619

Please sign in to comment.