Skip to content

chiaretto/github-action-list-artifacts-pr

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

List of artifacts from another workflow

This action will print and set-output all artifacts from another workflow

Inputs

github-token

Example usage

name: List Artifact
on:
  workflow_run:
    workflows: ["Generate Artifacts"]
    types: [completed]

jobs:
  list-artifacts:
    runs-on: ubuntu-latest
    steps:
      - name: List artifacts
        id: list-artifacts
        uses: chiaretto/github-action-list-artifacts-pr@1.0.0
        with:
          github-token: "${{ secrets.GITHUB_TOKEN }}"

      - name: Print variables
        run: |
          echo artifact-name: ${{ steps.list-artifacts.outputs.artifact-name }}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published