Test one uplaod. #22
@@ -93,17 +93,29 @@ jobs:
|
|||||||
private_key_passphrase: ${{ steps.key.outputs.SIGN_PRIVATE_KEY_PASSPHRASE }}
|
private_key_passphrase: ${{ steps.key.outputs.SIGN_PRIVATE_KEY_PASSPHRASE }}
|
||||||
filepath: ${{ gitea.workspace }}/dist/${{ steps.plugin-meta.outputs.PLUGIN }}
|
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
|
- 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:
|
with:
|
||||||
serverUrl: ${{ inputs.artifacts_url }}
|
pattern: ${{ steps.plugin-meta.outputs.PLUGIN }}
|
||||||
username: ${{ steps.publish-secrets.outputs.ARTIFACTS_USERNAME }}
|
repositories: ${{ inputs.artifacts_repository }}
|
||||||
password: ${{ steps.publish-secrets.outputs.ARTIFACTS_PASSWORD }}
|
directory: dist
|
||||||
format: raw
|
path: /plugins/${{ steps.plugin-meta.outputs.PLUGIN_ID }}/${{ steps.plugin-meta.outputs.PLUGIN_VERSION }}
|
||||||
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-sign
|
- name: ci/push-plugin-sign
|
||||||
uses: sonatype-nexus-community/nexus-repo-github-action@master
|
uses: sonatype-nexus-community/nexus-repo-github-action@master
|
||||||
|
|||||||
Reference in New Issue
Block a user