Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasStar committed Oct 25, 2020
1 parent bc138aa commit f4b3b11
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
types:
- created

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -18,12 +21,14 @@ jobs:
java-version: 11
settings-path: ${{ github.workspace }}

- run: |
- name: Deploy to package registry
run: |
cd release
mvn deploy -B -s ${{ github.workspace }}/settings.xml
mvn assembly:single -B
mvn -B deploy -s ${{ github.workspace }}/settings.xml
mvn -B assembly:single
- uses: shogo82148/actions-upload-release-asset@v1
- name: Deploy to release
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: release/target/*.jar
Expand All @@ -33,7 +38,8 @@ jobs:
ref: docs
path: docs

- run: |
- name: Deploy to gh-pages
run: |
mv -f docs/.git .
rm -rf docs/*
mv .git docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

- run: mvn test -B
- run: mvn -B test
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>eliasstar</groupId>
<artifactId>json-rpc</artifactId>
<version>1.2.0</version>
<version>2.0.0</version>
<packaging>jar</packaging>

<name>JsonRpc4J</name>
Expand Down

0 comments on commit f4b3b11

Please sign in to comment.