Skip to content

Commit

Permalink
Add artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
Pikachu920 authored Sep 5, 2024
1 parent c9caaa4 commit 0c1e3d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-agent-jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean agentJar
- name: Compute short SHA
id: sha
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Upload artifacts
uses: actions/upload-artifact@master
with:
name: AddonPatcher-Agent-${{ steps.sha.outputs.sha_short }}.jar
path: build/libs/*.jar
4 changes: 4 additions & 0 deletions .github/workflows/build-replacer-jar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ jobs:
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew clean replacerJar
- name: Compute short SHA
id: sha
run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Upload artifacts
uses: actions/upload-artifact@master
with:
name: AddonPatcher-Replacer-${{ steps.sha.outputs.sha_short }}.jar
path: build/libs/*.jar

0 comments on commit 0c1e3d8

Please sign in to comment.