mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](1eb3cb2b3e...5d5d22a312
)
---
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@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
|
|
- name: Create empty artifact
|
|
shell: bash
|
|
run:
|
|
echo "${{inputs.content}}" > ${{ inputs.file-name }}
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
|
|
with:
|
|
name: ${{ inputs.artifact-name }}
|
|
path: ${{ inputs.file-name }}
|