Test one uplaod.

This commit is contained in:
2026-07-28 12:46:42 +03:00
parent dcea56fa54
commit 396f81c8ae
@@ -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