mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](a5ac7e51b4...692973e3d9
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
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@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
|
|
with:
|
|
name: ${{ inputs.artifact-name }}
|
|
path: ${{ inputs.file-name }}
|