From b3b2e9ce342379ae502e0f2877a587250699d322 Mon Sep 17 00:00:00 2001 From: Matthew Casperson Date: Mon, 15 Mar 2021 09:45:42 +1000 Subject: [PATCH] Updated octo cli --- .github/workflows/maven.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a1f7a4a..bf2d84f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -18,7 +18,7 @@ jobs: - name: install Octopus Deploy CLI uses: OctopusDeploy/install-octocli@v1 with: - version: 7.4.2 + version: 7.4.3124 - name: Update version run: mvn versions:set -DnewVersion=0.1.${{ github.run_number }} @@ -55,7 +55,12 @@ jobs: run: mv target/app.jar target/app.0.1.${{ github.run_number }}.jar - name: Push Package - run: octo push --space=${{ secrets.OCTOPUS_SERVER_SPACE}} --server=${{ secrets.OCTOPUS_SERVER_URL }} --apiKey=${{ secrets.OCTOPUS_API_KEY }} --package target/app.0.1.${{ github.run_number }}.jar + run: | + octo push + --space=${{ secrets.OCTOPUS_SERVER_SPACE}} + --server=${{ secrets.OCTOPUS_SERVER_URL }} + --apiKey=${{ secrets.OCTOPUS_API_KEY }} + --package target/app.0.1.${{ github.run_number }}.jar - name: Generate Octopus Deploy build information uses: xo-energy/action-octopus-build-information@v1.1.2