Skip to content

Commit 1aef378

Browse files
authored
Update maven.yml
1 parent eb5e0a0 commit 1aef378

1 file changed

Lines changed: 1 addition & 30 deletions

File tree

.github/workflows/maven.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -51,35 +51,6 @@ jobs:
5151
asset_name: app.jar
5252
asset_content_type: application/zip
5353

54-
# - name: Rename package
55-
# run: mv target/app.jar target/app.0.1.${{ github.run_number }}.jar
56-
57-
# - name: Push Package
58-
# run: >-
59-
# octo push
60-
# --space=${{ secrets.OCTOPUS_SERVER_SPACE}}
61-
# --server=${{ secrets.OCTOPUS_SERVER_URL }}
62-
# --apiKey=${{ secrets.OCTOPUS_API_KEY }}
63-
# --package target/app.0.1.${{ github.run_number }}.jar
64-
65-
# - name: Build Package Info
66-
# run: >-
67-
# echo "{
68-
# \"PackageId\": \"app\",
69-
# \"Version\": \"0.1.${{ github.run_number }}\",
70-
# \"BuildUrl\": \"https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}\",
71-
# \"BuildNumber\": \"${{ github.run_number }}\",
72-
# \"Branch\": \"${{ github.ref }}\",
73-
# \"OctopusBuildInformation\": {
74-
# \"BuildEnvironment\":\"GithubActions\",
75-
# \"VcsCommitNumber\":\"${{ github.sha }}\",
76-
# \"VcsCommitUrl\":\"https://github.com/OctopusSamples/RandomQuotes-Java/commit/${{ github.sha }}\",
77-
# \"VcsType\": \"Git\",
78-
# \"VcsRoot\": \"https://github.com/OctopusSamples/RandomQuotes-Java\",
79-
# \"Commits\":
80-
# [{\"Id\":\"${{ github.sha }}\", \"LinkUrl\":\"https://github.com/OctopusSamples/RandomQuotes-Java/commit/${{ github.sha }}\", \"Comment\": \"${{ github.event.head_commit.message }}\"}]
81-
# }}" > buildinfo.json; cat buildinfo.json
82-
8354
- name: Login to DockerHub
8455
uses: docker/login-action@v1
8556
with:
@@ -120,4 +91,4 @@ jobs:
12091
--apiKey=${{ secrets.OCTOPUS_API_KEY }}
12192
--package-id=ctopussamples/randomquotesjava
12293
--version=0.1.${{ github.run_number }}
123-
--file=dockerbuildinfo.json
94+
--file=dockerbuildinfo.json

0 commit comments

Comments
 (0)