mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
* sharing data with files * sharing data with files * disable check * add shell * skip step * skip step * fix tab * run e2e * failing e2e * failing e2e make fail * failing e2e make fail * use js action * fix template * test action * fix * fix test * fix test * use action * use action fix * use action fix * use action fix * use action fix * use action fix * use action fix * use action fix * use action fix * Normal run * verify slack groups * verify slack groups * verify slack groups * verify slack groups * refactor * remove useless code * remove useless code * use space as separator * use space as separator * use ga channel * append only for cron * run e2e job only if affected * simulate process * fix logic * fix logic * fix output * almost done
33 lines
792 B
YAML
33 lines
792 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@v3
|
|
- name: Create empty artifact
|
|
shell: bash
|
|
run:
|
|
echo "${{inputs.content}}" > ${{ inputs.file-name }}
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: ${{ inputs.artifact-name }}
|
|
path: ${{ inputs.file-name }}
|