Skip to content

Commit

Permalink
Merge pull request #129 from intergral/build
Browse files Browse the repository at this point in the history
fix(build): update release build to attach artifacts
  • Loading branch information
Umaaz authored May 23, 2024
2 parents 5de53a0 + e9e06ad commit ecd99f6
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,7 @@ jobs:
- name: Update java version
run: mvn versions:set -DnewVersion=${VERSION} -B -U
- name: Build and Release
run: mvn -s .ci-settings.xml clean package deploy -DskipTests -P release-ossrh -B -U -pl agent,deep --also-make

- name: Upload agent to release
uses: svenstaro/upload-release-action@v2
with:
file: ./agent/target/agent-${VERSION}.jar
asset_name: Deep Agent
tag: ${{ github.ref_name }}
overwrite: true

- name: Upload lite agent to release
uses: svenstaro/upload-release-action@v2
with:
file: ./agent/target/agent-${VERSION}-lite.jar
asset_name: Deep Lite Agent
tag: ${{ github.ref_name }}
overwrite: true
run: mvn -s .ci-settings.xml clean deploy -DskipTests -P release-ossrh -B -U -pl agent,deep --also-make

JavaSite:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -84,3 +68,19 @@ jobs:
tag: ${{ github.ref_name }}
overwrite: true

- name: Upload agent to release
uses: svenstaro/upload-release-action@v2
with:
file: ./agent/target/agent-${VERSION}.jar
asset_name: Deep Agent
tag: ${{ github.ref_name }}
overwrite: true

- name: Upload lite agent to release
uses: svenstaro/upload-release-action@v2
with:
file: ./agent/target/agent-${VERSION}-lite.jar
asset_name: Deep Lite Agent
tag: ${{ github.ref_name }}
overwrite: true

0 comments on commit ecd99f6

Please sign in to comment.