Skip to content
Permalink
Browse files
upload assert to release (#234)
  • Loading branch information
coderzc committed Dec 21, 2021
1 parent f1cf6b0 commit 21e0c8fe618a449f33e89badbe1c06a4d2e024cb
Showing 1 changed file with 18 additions and 1 deletion.
@@ -1,4 +1,4 @@
name: release maven package
name: release package

on:
release:
@@ -7,6 +7,8 @@ on:
jobs:
build:
runs-on: ubuntu-20.04
env:
STATIC_DIR: assembly/static
steps:
- name: Install JDK 8
uses: actions/setup-java@v2
@@ -26,6 +28,21 @@ jobs:
with:
fetch-depth: 2

- name: Package
run: |
mvn install:install-file -Dfile=$STATIC_DIR/lib/ojdbc8-12.2.0.1.jar -DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar
mvn clean package -DskipTests
- uses: xresloader/upload-to-github-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "hugegraph-*.tar.gz"
tag_name: ${{ github.ref_name }}
overwrite: true
verbose: true
update_latest_release: true

- name: Release Maven package
uses: samuelmeuli/action-maven-publish@v1
with:

0 comments on commit 21e0c8f

Please sign in to comment.