Skip to content

Commit

Permalink
Add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
henkelmax committed Mar 26, 2021
1 parent 13c5088 commit b7c42ec
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build
on:
release:
types:
- created

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

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Set up JDK 1.8
uses: actions/[email protected]
with:
java-version: 1.8
server-id: henkelmax.public
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish to maxhenkel.de
run: mvn -B deploy
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>de.maxhenkel.opus4j</groupId>
<artifactId>opus4j</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>

<name>Opus Wrapper for Java</name>
<url>https://maxhenkel.de</url>
Expand Down

0 comments on commit b7c42ec

Please sign in to comment.