in my repo, I have yml file with the code below /.github/workflows/filename.yml
- name: Create Artifact
uses: actions/upload-artifiact@v2
with:
name: Report.22.9.zip
path: |
project
!project/Reports/*
!project/Logs/*
!project/Snapshots/*
Now, I'm trying to make "name: Report.22.9.zip" more dynamic. Something like this
<repo_name>.<branch_name>.<git_build_id>.zip
You can create artifact name in previous step and provide it as output to be used by artifact upload step.