Skip to content

Commit

Permalink
fix: Update to Octopus' GitHub v3 Actions (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
slewis74 authored Dec 23, 2022
1 parent 2531fef commit c5352d5
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand All @@ -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'
Expand Down

0 comments on commit c5352d5

Please sign in to comment.