Replace sonatype upload action. #30

Merged
stuart.armstrong merged 1 commits from Plugin-with-marketplace-replace-sonatype-action into master 2026-09-22 13:19:35 +00:00
Showing only changes of commit 5bb9e0c1b7 - Show all commits
@@ -120,16 +120,18 @@ jobs:
-F "raw.asset1.filename=${{ steps.plugin-meta.outputs.PLUGIN }}" -F "raw.asset1.filename=${{ 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: ./.github/actions/nexus-publish-action
with: with:
serverUrl: ${{ inputs.artifacts_url }} nexus_server: ${{ inputs.artifacts_url }}
username: ${{ steps.publish-secrets.outputs.ARTIFACTS_USERNAME }} nexus_username: ${{ steps.publish-secrets.outputs.ARTIFACTS_USERNAME }}
password: ${{ steps.publish-secrets.outputs.ARTIFACTS_PASSWORD }} nexus_password: ${{ steps.publish-secrets.outputs.ARTIFACTS_PASSWORD }}
format: raw repository_format: "raw"
repository: ${{ inputs.artifacts_repository }} repository_name: ${{ inputs.artifacts_repository }}
coordinates: directory=plugins/${{ steps.plugin-meta.outputs.PLUGIN_ID }}/${{ steps.plugin-meta.outputs.PLUGIN_VERSION }} upload_path: directory=plugins/${{ steps.plugin-meta.outputs.PLUGIN_ID }}/${{ steps.plugin-meta.outputs.PLUGIN_VERSION }}
assets: filename=${{ steps.plugin-meta.outputs.PLUGIN }}.sig #assets: filename=${{ steps.plugin-meta.outputs.PLUGIN }}.sig
filename: dist/${{ steps.plugin-meta.outputs.PLUGIN }}.sig #filename: dist/${{ steps.plugin-meta.outputs.PLUGIN }}.sig
files_path: "./dist"
file_pattern: ${{ steps.plugin-meta.outputs.PLUGIN }}.sig
- name: ci/plugin-json - name: ci/plugin-json
uses: https://git.wilix.dev/wilix-infra/actions/.gitea/actions/plugin/json@master uses: https://git.wilix.dev/wilix-infra/actions/.gitea/actions/plugin/json@master
@@ -143,13 +145,15 @@ jobs:
artifacts_repository: ${{ inputs.artifacts_repository }} artifacts_repository: ${{ inputs.artifacts_repository }}
- name: ci/push-plugin-json - name: ci/push-plugin-json
uses: sonatype-nexus-community/nexus-repo-github-action@master uses: ./.github/actions/nexus-publish-action
with: with:
serverUrl: ${{ inputs.artifacts_url }} nexus_server: ${{ inputs.artifacts_url }}
username: ${{ steps.publish-secrets.outputs.ARTIFACTS_USERNAME }} nexus_username: ${{ steps.publish-secrets.outputs.ARTIFACTS_USERNAME }}
password: ${{ steps.publish-secrets.outputs.ARTIFACTS_PASSWORD }} nexus_password: ${{ steps.publish-secrets.outputs.ARTIFACTS_PASSWORD }}
format: raw repository_format: "raw"
repository: ${{ inputs.artifacts_repository }} repository_name: ${{ inputs.artifacts_repository }}
coordinates: directory=plugins/${{ steps.plugin-meta.outputs.PLUGIN_ID }}/${{ steps.plugin-meta.outputs.PLUGIN_VERSION }} upload_path: directory=plugins/${{ steps.plugin-meta.outputs.PLUGIN_ID }}/${{ steps.plugin-meta.outputs.PLUGIN_VERSION }}
assets: filename=${{ steps.plugin-meta.outputs.PLUGIN }}.json #assets: filename=${{ steps.plugin-meta.outputs.PLUGIN }}.sig
filename: dist/${{ steps.plugin-meta.outputs.PLUGIN }}.json #filename: dist/${{ steps.plugin-meta.outputs.PLUGIN }}.sig
files_path: "./dist"
file_pattern: ${{ steps.plugin-meta.outputs.PLUGIN }}.json