Fix spectron pr comment action

This commit is contained in:
Labhansh Agrawal 2021-04-08 00:36:30 +05:30
parent e266dd00f2
commit 80c7e67a0d
2 changed files with 24 additions and 1 deletions

View file

@ -62,3 +62,14 @@ jobs:
dist/*.deb
dist/*.rpm
dist/*.exe
- name: Save the pr number in an artifact
if: github.event_name == 'pull_request'
env:
PR_NUM: ${{ github.event.number }}
run: echo $PR_NUM > pr_num.txt
- name: Upload the pr num
uses: actions/upload-artifact@v2
if: github.event_name == 'pull_request'
with:
name: pr_num
path: ./pr_num.txt