Navigation Menu

Skip to content

Naming Artifacts after committed files #24947

Answered by airtower-luna
cyb3rko asked this question in Actions
Discussion options

You must be logged in to vote

Technically you could reference the output of another step, like you do in the “Print files” step with ${{ steps.files.outputs.all }}.

However, as I understand the workflow there could be a list of files, right? If you want all of them it would be easier to tell actions/upload-artifact to grab all PDF files:

      - name: Save PDF file
        uses: actions/upload-artifact@v2
        with:
          name: PDF
          path: |
            *.pdf
            **/*.pdf

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Product Feedback
2 participants