Replace sonatype upload action.
This commit is contained in:
@@ -120,16 +120,18 @@ jobs:
|
||||
-F "raw.asset1.filename=${{ steps.plugin-meta.outputs.PLUGIN }}"
|
||||
|
||||
- name: ci/push-plugin-sign
|
||||
uses: sonatype-nexus-community/nexus-repo-github-action@master
|
||||
uses: ./.github/actions/nexus-publish-action
|
||||
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 }}.sig
|
||||
filename: dist/${{ steps.plugin-meta.outputs.PLUGIN }}.sig
|
||||
nexus_server: ${{ inputs.artifacts_url }}
|
||||
nexus_username: ${{ steps.publish-secrets.outputs.ARTIFACTS_USERNAME }}
|
||||
nexus_password: ${{ steps.publish-secrets.outputs.ARTIFACTS_PASSWORD }}
|
||||
repository_format: "raw"
|
||||
repository_name: ${{ inputs.artifacts_repository }}
|
||||
upload_path: directory=plugins/${{ steps.plugin-meta.outputs.PLUGIN_ID }}/${{ steps.plugin-meta.outputs.PLUGIN_VERSION }}
|
||||
#assets: filename=${{ 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
|
||||
uses: https://git.wilix.dev/wilix-infra/actions/.gitea/actions/plugin/json@master
|
||||
@@ -143,13 +145,15 @@ jobs:
|
||||
artifacts_repository: ${{ inputs.artifacts_repository }}
|
||||
|
||||
- name: ci/push-plugin-json
|
||||
uses: sonatype-nexus-community/nexus-repo-github-action@master
|
||||
uses: ./.github/actions/nexus-publish-action
|
||||
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 }}.json
|
||||
filename: dist/${{ steps.plugin-meta.outputs.PLUGIN }}.json
|
||||
nexus_server: ${{ inputs.artifacts_url }}
|
||||
nexus_username: ${{ steps.publish-secrets.outputs.ARTIFACTS_USERNAME }}
|
||||
nexus_password: ${{ steps.publish-secrets.outputs.ARTIFACTS_PASSWORD }}
|
||||
repository_format: "raw"
|
||||
repository_name: ${{ inputs.artifacts_repository }}
|
||||
upload_path: directory=plugins/${{ steps.plugin-meta.outputs.PLUGIN_ID }}/${{ steps.plugin-meta.outputs.PLUGIN_VERSION }}
|
||||
#assets: filename=${{ steps.plugin-meta.outputs.PLUGIN }}.sig
|
||||
#filename: dist/${{ steps.plugin-meta.outputs.PLUGIN }}.sig
|
||||
files_path: "./dist"
|
||||
file_pattern: ${{ steps.plugin-meta.outputs.PLUGIN }}.json
|
||||
|
||||
Reference in New Issue
Block a user