From 042b3cd7592d41ed57629af30ee4cc349fc9ba0c Mon Sep 17 00:00:00 2001 From: Maximiliano Osorio Date: Thu, 10 Mar 2022 17:16:24 -0300 Subject: [PATCH] Upload file to release (#101) * fix: upload the file * fix: on everything * Revert "fix: on everything" This reverts commit fd6a0cbf578661b8ffb6976f65d1589b529fa636. --- .github/workflows/backend-publish.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend-publish.yml b/.github/workflows/backend-publish.yml index 7215d3e..f5f6b40 100644 --- a/.github/workflows/backend-publish.yml +++ b/.github/workflows/backend-publish.yml @@ -28,10 +28,12 @@ jobs: GITHUB_USERNAME: ${{ secrets.GITHUB_USERNAME }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Publish to GitHub Packages Apache Maven - run: cd portal && mvn --batch-mode deploy + - name: Build with Maven + run: cd portal && mvn -B package --file pom.xml env: - GITHUB_TOKEN: ${{ github.token }} + GITHUB_USERNAME: ${{ secrets.GITHUB_USERNAME }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Upload binaries to release uses: svenstaro/upload-release-action@v2