Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Commit

Permalink
Add gha release job
Browse files Browse the repository at this point in the history
  • Loading branch information
Han Qiao committed Dec 27, 2021
1 parent 24466c2 commit 9da87b5
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and upload release binary

on:
push:
tags:
- "v*.*.*"

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup JDK 8
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 8
cache: maven
- name: Build with Maven
run: mvn -B package --file htrace-core4/pom.xml
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: htrace-core4/target/htrace-core4-4.1.0-incubating.jar

0 comments on commit 9da87b5

Please sign in to comment.