Skip to content

Commit

Permalink
just stop trying to add hash
Browse files Browse the repository at this point in the history
  • Loading branch information
strazzere committed Aug 6, 2024
1 parent 2aa665e commit a83343f
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,8 @@ jobs:
- name: Build JAR
run: ./gradlew jar

- name: Extract metadata (tags, labels)
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ github.repository }}
tags: |
type=sha,format=short,prefix=
- name: Extract short SHA for artifact name
id: short-sha
run: echo "sha_short=$(echo '${{ steps.meta.outputs.tags }}' | cut -d: -f2)" >> $GITHUB_ENV

- name: Upload JAR as artifact
uses: actions/upload-artifact@v3
with:
name: axmlprinter-${{ env.sha_short }}
name: axmlprinter-jar
path: build/libs/*.jar

0 comments on commit a83343f

Please sign in to comment.