Automated Pull Request From main to feature/test Branch #906
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "25 - Artifacts between workflows 1" | |
on: pull_request | |
jobs: | |
job1: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Save the PR number in an artifact | |
shell: bash | |
env: | |
PR_NUM: ${{ github.event.number }} | |
run: echo $PR_NUM > pr_num.txt | |
- name: Upload the PR number | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pr_num | |
path: ./pr_num.txt |