diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..22b67e4 --- /dev/null +++ b/.github/workflows/release.yml @@ -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/checkout@v2.3.4 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1.4.3 + 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 }} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 44ff786..29ab1cd 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ de.maxhenkel.opus4j opus4j - 1.0.0-SNAPSHOT + 1.0.0 Opus Wrapper for Java https://maxhenkel.de