mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](834a144ee9...50769540e7
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
33 lines
885 B
YAML
33 lines
885 B
YAML
name: Initialize Artifact
|
|
description: 'Allow the user to initialize an empty artifact used globally'
|
|
|
|
inputs:
|
|
artifact-name:
|
|
description: 'The name of the artifact'
|
|
required: true
|
|
type: string
|
|
file-name:
|
|
description: 'The name of the file with extension created in the artifact'
|
|
required: true
|
|
type: string
|
|
content:
|
|
description: 'The init content the file should have'
|
|
type: string
|
|
default: ""
|
|
|
|
runs:
|
|
using: "composite"
|
|
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
- name: Create empty artifact
|
|
shell: bash
|
|
run:
|
|
echo "${{inputs.content}}" > ${{ inputs.file-name }}
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
|
|
with:
|
|
name: ${{ inputs.artifact-name }}
|
|
path: ${{ inputs.file-name }}
|