Skip to content

Commit c891f93

Browse files
committed
[CI] Fix ci.yml and ci-adhoc.yml
This commit fixes the following: - duplicate 'central-publish-action' in ci.yml - missing bracket in ci.yml and ci-adhoc.yml Signed-off-by: Chris Bono <[email protected]>
1 parent cc2412b commit c891f93

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/ci-adhoc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
ARTIFACTORY_BUILD_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
8383
ARTIFACTORY_USER_AGENT_NAME: GitHub Actions
8484
ARTIFACTORY_USER_AGENT_VERSION: Unknown
85-
ARTIFACTORY_VCS_REVISION: ${{ github.sha }
85+
ARTIFACTORY_VCS_REVISION: ${{ github.sha }}
8686
run: |
8787
./gradlew publishArtifacts \
8888
--stacktrace \

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,19 +151,13 @@ jobs:
151151
ARTIFACTORY_BUILD_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
152152
ARTIFACTORY_USER_AGENT_NAME: GitHub Actions
153153
ARTIFACTORY_USER_AGENT_VERSION: Unknown
154-
ARTIFACTORY_VCS_REVISION: ${{ github.sha }
154+
ARTIFACTORY_VCS_REVISION: ${{ github.sha }}
155155
run: |
156156
./gradlew publishArtifacts \
157157
--stacktrace \
158158
-PartifactoryUsername="$ARTIFACTORY_USERNAME" -PartifactoryPassword="$ARTIFACTORY_PASSWORD"
159159
- name: Publish staged artifacts to Central
160160
if: ${{ steps.deploy-location.outputs.deploy_location == 'central' }}
161-
steps:
162-
- name: Deploy
163-
uses: spring-io/central-publish-action@0cdd90d12e6876341e82860d951e1bcddc1e51b6 # v0.2.0
164-
with:
165-
token-name: ${{ secrets.SONATYPE_TOKEN_NAME }}
166-
token: ${{ secrets.SONATYPE_TOKEN }}
167161
uses: spring-io/[email protected]
168162
with:
169163
token-name: ${{ secrets.CENTRAL_TOKEN_USERNAME }}

0 commit comments

Comments
 (0)