Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
munishchouhan committed Sep 24, 2024
1 parent 6c099a7 commit 2d86c00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ jobs:
- name: Upload linux native image artifact
uses: actions/upload-artifact@v4
with:
name: tw_agent_linux
name: tw-agent-linux
path: build/native/nativeCompile/tw-agent

- name: Upload fat JAR artifact
uses: actions/upload-artifact@v4
with:
name: tw_agent_jar
name: tw-agent-jar
path: build/libs/tw-agent.jar


Expand All @@ -74,12 +74,13 @@ jobs:
fetch-depth: 0

- name: Download all build artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4

- name: Setup Java for JReleaser
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'adopt'

- name: Version
id: version
Expand Down
4 changes: 2 additions & 2 deletions jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ distributions:
tw-agent:
type: NATIVE_IMAGE
artifacts:
- path: "tw_agent_linux/tw-agent"
- path: "tw-agent-linux/tw-agent"
transform: "{{distributionName}}-linux-x86_64"
platform: linux-x86_64
tw-agent-jar:
type: SINGLE_JAR
artifacts:
- path: "tw_agent_jar/tw-agent.jar"
- path: "tw-agent-jar/tw-agent.jar"

0 comments on commit 2d86c00

Please sign in to comment.