From c5352d538d03f2c86e9aa3538d7bbce40076e067 Mon Sep 17 00:00:00 2001 From: Shannon Lewis Date: Fri, 23 Dec 2022 15:20:29 +1000 Subject: [PATCH] fix: Update to Octopus' GitHub v3 Actions (#246) --- .github/workflows/build.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 079e1d662d..ad464c6d84 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -207,8 +207,8 @@ jobs: needs: [build, docker-build, linux-distro-packages-test] runs-on: ubuntu-latest env: - OCTOPUS_CLI_SERVER: ${{ secrets.OCTOPUS_URL }} - OCTOPUS_CLI_API_KEY: ${{ secrets.OCTOPUS_API_KEY }} + OCTOPUS_URL: ${{ secrets.OCTOPUS_URL }} + OCTOPUS_API_KEY: ${{ secrets.OCTOPUS_API_KEY }} VERSION: ${{ needs.build.outputs.version }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: @@ -256,13 +256,8 @@ jobs: tar -xf OctopusTools.$VERSION.linux-x64.tar.gz zip OctopusTools.Zips.$VERSION.zip *.zip *.tar.gz - - name: Install Octopus CLI 🐙 - uses: OctopusDeploy/install-octopus-cli-action@v1 - with: - version: latest - - name: Push a package to Octopus Deploy 🐙 - uses: OctopusDeploy/push-package-action@v1.1.2 + uses: OctopusDeploy/push-package-action@v3 with: space: Integrations packages: | @@ -282,7 +277,7 @@ jobs: echo "::set-output name=release-note-file::$OUTPUT_FILE" - name: Create a release in Octopus Deploy 🐙 - uses: OctopusDeploy/create-release-action@v1.1.3 + uses: OctopusDeploy/create-release-action@v3 with: space: Integrations project: 'Octopus CLI'