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