mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 08:55:37 +08:00
saving pr number
This commit is contained in:
parent
8f8b65f974
commit
e451375274
1 changed files with 12 additions and 0 deletions
12
.github/workflows/pr-check.yml
vendored
12
.github/workflows/pr-check.yml
vendored
|
@ -48,6 +48,18 @@ jobs:
|
|||
if: steps.filter.outputs.anti-cheat == 'true'
|
||||
run: exit 1
|
||||
|
||||
- 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
|
||||
|
||||
- name: Cache node modules
|
||||
if: steps.filter.outputs.changes != '[]'
|
||||
uses: actions/cache@v2
|
||||
|
|
Loading…
Reference in a new issue