Skip to content

Commit 754023f

Browse files
authored
Update maven.yml
1 parent 871d421 commit 754023f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/maven.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,20 +118,20 @@ jobs:
118118
# Octopus expects artifacts to have a specific file format
119119
file="${{ steps.get_artifact.outputs.artifact }}"
120120
extension="${file##*.}"
121-
octofile="SampleMavenProject-SpringBoot.${{ steps.determine_version.outputs.semVer }}.${extension}"
121+
octofile="RandomQuotes-Java.${{ steps.determine_version.outputs.semVer }}.${extension}"
122122
cp ${file} ${octofile}
123123
echo "::set-output name=artifact::${octofile}"
124124
# The version used when creating a release is the package id, colon, and version
125-
octoversion="SampleMavenProject-SpringBoot:${{ steps.determine_version.outputs.semVer }}"
125+
octoversion="RandomQuotes-Java:${{ steps.determine_version.outputs.semVer }}"
126126
echo "::set-output name=octoversion::${octoversion}"
127127
ls -la
128128
shell: bash
129129
- name: Push packages to Octopus Deploy
130-
uses: OctopusDeploy/push-package-action@fix/space-lookups
130+
uses: OctopusDeploy/push-package-action@v3
131131
env:
132132
OCTOPUS_API_KEY: ${{ secrets.OCTOPUS_API_TOKEN }}
133-
OCTOPUS_URL: https://mattc.octopus.app
134-
OCTOPUS_SPACE: Test
133+
OCTOPUS_URL: ${{ secrets.OCTOPUS_SERVER_URL }}
134+
OCTOPUS_SPACE: ${{ secrets.OCTOPUS_SPACE }}
135135
with:
136136
packages: ${{ steps.get_octopus_artifact.outputs.artifact }}
137137
overwrite_mode: OverwriteExisting
@@ -143,16 +143,16 @@ jobs:
143143
OCTOPUS_SPACE: ${{ secrets.OCTOPUS_SPACE }}
144144
with:
145145
version: ${{ steps.determine_version.outputs.semVer }}
146-
packages: SampleMavenProject-SpringBoot
146+
packages: RandomQuotes-Java
147147
overwrite_mode: OverwriteExisting
148148
- name: Create Octopus Release
149149
uses: OctopusDeploy/create-release-action@v3
150150
env:
151151
OCTOPUS_API_KEY: ${{ secrets.OCTOPUS_API_TOKEN }}
152152
OCTOPUS_URL: ${{ secrets.OCTOPUS_SERVER_URL }}
153-
OCTOPUS_SPACE: Default
153+
OCTOPUS_SPACE: ${{ secrets.OCTOPUS_SPACE }}
154154
with:
155-
project: SampleMavenProject-SpringBoot
155+
project: RandomQuotes-Java
156156
packages: ${{ steps.get_octopus_artifact.outputs.octoversion }}
157157
permissions:
158158
id-token: write

0 commit comments

Comments
 (0)