Merge pull request 'Test one uplaod.' (#22) from Fix-nexus-upload-step into master
Reviewed-on: #22
This commit was merged in pull request #22.
This commit is contained in:
@@ -93,17 +93,29 @@ jobs:
|
||||
private_key_passphrase: ${{ steps.key.outputs.SIGN_PRIVATE_KEY_PASSPHRASE }}
|
||||
filepath: ${{ gitea.workspace }}/dist/${{ steps.plugin-meta.outputs.PLUGIN }}
|
||||
|
||||
#- name: ci/push-plugin
|
||||
# uses: sonatype-nexus-community/nexus-repo-github-action@master
|
||||
# with:
|
||||
# serverUrl: ${{ inputs.artifacts_url }}
|
||||
# username: ${{ steps.publish-secrets.outputs.ARTIFACTS_USERNAME }}
|
||||
# password: ${{ steps.publish-secrets.outputs.ARTIFACTS_PASSWORD }}
|
||||
# format: raw
|
||||
# repository: ${{ inputs.artifacts_repository }}
|
||||
# coordinates: directory=plugins/${{ steps.plugin-meta.outputs.PLUGIN_ID }}/${{ steps.plugin-meta.outputs.PLUGIN_VERSION }}
|
||||
# assets: filename=${{ steps.plugin-meta.outputs.PLUGIN }}
|
||||
# filename: dist/${{ steps.plugin-meta.outputs.PLUGIN }}
|
||||
|
||||
- name: ci/push-plugin
|
||||
uses: sonatype-nexus-community/nexus-repo-github-action@master
|
||||
uses: astertom/nexus-upload-artifact@v1
|
||||
env:
|
||||
NEXUS_HOST_URL: ${{ inputs.artifacts_url }}
|
||||
NEXUS_USER: ${{ steps.publish-secrets.outputs.ARTIFACTS_USERNAME }}
|
||||
NEXUS_TOKEN: ${{ steps.publish-secrets.outputs.ARTIFACTS_PASSWORD }}
|
||||
with:
|
||||
serverUrl: ${{ inputs.artifacts_url }}
|
||||
username: ${{ steps.publish-secrets.outputs.ARTIFACTS_USERNAME }}
|
||||
password: ${{ steps.publish-secrets.outputs.ARTIFACTS_PASSWORD }}
|
||||
format: raw
|
||||
repository: ${{ inputs.artifacts_repository }}
|
||||
coordinates: directory=plugins/${{ steps.plugin-meta.outputs.PLUGIN_ID }}/${{ steps.plugin-meta.outputs.PLUGIN_VERSION }}
|
||||
assets: filename=${{ steps.plugin-meta.outputs.PLUGIN }}
|
||||
filename: dist/${{ steps.plugin-meta.outputs.PLUGIN }}
|
||||
pattern: ${{ steps.plugin-meta.outputs.PLUGIN }}
|
||||
repositories: ${{ inputs.artifacts_repository }}
|
||||
directory: dist
|
||||
path: /plugins/${{ steps.plugin-meta.outputs.PLUGIN_ID }}/${{ steps.plugin-meta.outputs.PLUGIN_VERSION }}
|
||||
|
||||
- name: ci/push-plugin-sign
|
||||
uses: sonatype-nexus-community/nexus-repo-github-action@master
|
||||
|
||||
Reference in New Issue
Block a user