diff --git a/.github/workflows/github-actions-demo.yml b/.github/workflows/github-actions-demo.yml index c50969d..bf5fbfe 100644 --- a/.github/workflows/github-actions-demo.yml +++ b/.github/workflows/github-actions-demo.yml @@ -36,6 +36,17 @@ jobs: release_name: Prerelease ${{ steps.tag_version.outputs.new_tag }} body: ${{ steps.tag_version.outputs.changelog }} prerelease: true + + - name: Publish - GitHub Packages + uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v1 + with: + java-version: 11.0.4 + - name: Publish artifact on GitHub Packages + run: mvn -B clean deploy -DskipTests + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # sonar: # name: Test - SonarCloud Scan