Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

More tweaks #6

Merged
merged 10 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/test-zip-upload-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,31 @@ jobs:
path_file_2 = os.path.join(dir_results, "file_2.txt")
create_file(path_file_2)

- name: Show files in root
shell: bash
run: |
pwd
ls -la

- name: Test Directory With Files
if: always()
uses: action.yml
uses: ./
with:
name: Directory With Text Files
path: test_results
retention-days: '3'

- name: Test Single File in a Directory
if: always()
uses: action.yml
uses: ./
with:
name: Single Text File in Directory
path: test_results/file_1.txt
retention-days: '3'

- name: Test Single File at Root Directory
if: always()
uses: action.yml
uses: ./
with:
name: Single Test File at Root Directory
path: file_0.txt
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ runs:
shell: pwsh
run: |
echo "Zipping Artifact File..."
Compress-Archive -Path ./${{ steps.validation.outputs.LOOKUP_PATH }} -DestinationPath "./${{ steps.validation.outputs.DESTINATION_PATH }}"
Compress-Archive -Path "./${{ steps.validation.outputs.LOOKUP_PATH }}" -DestinationPath "./${{ steps.validation.outputs.DESTINATION_PATH }}"
echo "DONE!"

- name: Upload Artifact
Expand Down
Loading