Skip to content

25 - Artifacts between workflows 2 #175

25 - Artifacts between workflows 2

25 - Artifacts between workflows 2 #175

name: "25 - Artifacts between workflows 2"
on:
workflow_run:
workflows: ['25 - Artifacts between workflows 1']
types:
- completed
jobs:
job1:
runs-on: ubuntu-latest
steps:
- name: Download workflow artifact
uses: actions/[email protected]
with:
github-token: ${{ secrets.ACCESS_TOKEN }}
name: pr_num
path: ./pr_num
run-id: ${{ github.event.workflow_run.id }}
- name: Read the pr_num file
id: pr_num_reader
uses: juliangruber/[email protected]
with:
path: ./pr_num/pr_num.txt
- run: echo Original PR number is ${{ steps.pr_num_reader.outputs.content }}