Skip to content

Commit 9681891

Browse files
committed
Use the new CLI
1 parent b7eee3e commit 9681891

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ jobs:
5959
fail-on-error: 'false'
6060
- name: Publish
6161
run: dotnet publish --configuration Release /p:AssemblyVersion=${{ steps.determine_version.outputs.assemblySemVer }}
62+
63+
- name: Install Octopus CLI 🐙
64+
uses: OctopusDeploy/install-octopus-cli-action@v3
65+
with:
66+
version: 'latest'
67+
6268
- id: package
6369
name: Package
6470
run: |
@@ -87,11 +93,10 @@ jobs:
8793
parentdir=$(builtin cd $dir; pwd)
8894
projectname=${parentdir##*/}
8995
# Package the published files.
90-
octo pack \
91-
--basePath ${path} \
96+
octopus package zip create \
97+
--base-path ${path} \
9298
--id ${projectname} \
9399
--version ${{ steps.determine_version.outputs.semVer }} \
94-
--format zip \
95100
--overwrite
96101
packages=(${packages[@]} "${projectname}.${{ steps.determine_version.outputs.semVer }}.zip")
97102
versions=(${versions[@]} "${projectname}:${{ steps.determine_version.outputs.semVer }}")

0 commit comments

Comments
 (0)