From 0bf528195b83831c66534a89a542b95b377bc362 Mon Sep 17 00:00:00 2001 From: LeonaNedeljkovic <40694205+LeonaNedeljkovic@users.noreply.github.com> Date: Wed, 2 Jun 2021 22:00:14 +0200 Subject: [PATCH] Update github-actions-demo.yml --- .github/workflows/github-actions-demo.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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