mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
ci: Set result-encoding=string for artifact name (#19714)
This commit is contained in:
@@ -41,9 +41,10 @@ jobs:
|
|||||||
id: sanitize
|
id: sanitize
|
||||||
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
|
||||||
with:
|
with:
|
||||||
|
result-encoding: string
|
||||||
script: |
|
script: |
|
||||||
const packageName = '${{ github.event.inputs.package }}';
|
const packageName = '${{ github.event.inputs.package }}';
|
||||||
const sanitizedName = packageName.replace(/[/:]/g, '-');
|
const sanitizedName = packageName.replace(/[/:@"]/g, '-');
|
||||||
return `${{ github.sha }}-${sanitizedName}-build`;
|
return `${{ github.sha }}-${sanitizedName}-build`;
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
Reference in New Issue
Block a user