You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/actions/upload_prod_artefacts/action.yml

28 lines
686 B
YAML

name: 'Upload production artefact (not publish)'
description: 'Upload production artefact (not publish)'
inputs:
upload_prefix:
description: 'upload name prefix'
required: true
runs:
using: 'composite'
steps:
- name: Remove unpacked files
run: |
ls -d -- */ | xargs -I{} echo "Removing {}"
ls -d -- */ | xargs -I{} rm -rf {}
shell: bash
working-directory: ./release/
- name: Remaining files
run: ls .
shell: bash
working-directory: ./release/
- name: Upload Production Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.upload_prefix }}-production
path: release