-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
enhancementNew feature or requestNew feature or requestinclusion/exclusionRelated to file inclusion/exclusion and symlinksRelated to file inclusion/exclusion and symlinks
Description
I want to archive a specific subset of the files in my repository.
Currenty, I must use the following steps, to achieve this:
steps:
- name: Create a site directory
run: |
shopt -s globstar &&
tar -cvf site.tar **/*.html &&
mkdir site &&
tar -xf site.tar --directory site
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'site'
This, apart from being error-prone, is not efficient, because of the unnecessary calls to tar
.
I think, that this could be achieved with the following:
steps:
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: '**/*.html'
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestinclusion/exclusionRelated to file inclusion/exclusion and symlinksRelated to file inclusion/exclusion and symlinks