Skip to content

Commit 9c74387

Browse files
authored
Update main.yml
1 parent 36a4f05 commit 9c74387

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,20 @@ jobs:
5454
cp "$GITHUB_WORKSPACE/target/petclinic.web.$PACKAGE_VERSION.war" "$GITHUB_WORKSPACE/artifacts/petclinic.web.$PACKAGE_VERSION.war"
5555
5656
# Package flyway
57-
- name: Package Flyway
58-
run: |
59-
octo pack --id="petclinic.db" --format="Zip" --version="$PACKAGE_VERSION" --basePath="$GITHUB_WORKSPACE/flyway" --outFolder="$GITHUB_WORKSPACE/artifacts"
57+
# - name: Package Flyway
58+
# run: |
59+
# octo pack --id="petclinic.db" --format="Zip" --version="$PACKAGE_VERSION" --basePath="$GITHUB_WORKSPACE/flyway" --outFolder="$GITHUB_WORKSPACE/artifacts"
60+
61+
- name: Create a Zip package 🐙
62+
id: create_a_zip_package
63+
uses: OctopusDeploy/create-zip-package-action@v4
64+
with:
65+
package_id: 'petclinic.db'
66+
version: "${{ env.PACKAGE_VERSION }}"
67+
output_folder: 'artifacts'
68+
base_path: flyway
69+
files: |
70+
**/*.*
6071
6172
# Push packages to octopus deploy
6273
# - name: Push packages to Octopus

0 commit comments

Comments
 (0)