From 396f81c8ae562e70680282bfba432f3731b55bec Mon Sep 17 00:00:00 2001 From: sarmstrong Date: Tue, 28 Jul 2026 12:46:42 +0300 Subject: [PATCH] Test one uplaod. --- .../loop-plugin-with-marketplace-template.yml | 30 +++++++++++++------ 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/loop-plugin-with-marketplace-template.yml b/.gitea/workflows/loop-plugin-with-marketplace-template.yml index 44be30c..f52623c 100644 --- a/.gitea/workflows/loop-plugin-with-marketplace-template.yml +++ b/.gitea/workflows/loop-plugin-with-marketplace-template.yml @@ -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