summaryrefslogtreecommitdiff
path: root/.github/workflows/get-api-diff.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/get-api-diff.yml')
-rw-r--r--.github/workflows/get-api-diff.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/get-api-diff.yml b/.github/workflows/get-api-diff.yml
index 6454de080c..eeb2fa0855 100644
--- a/.github/workflows/get-api-diff.yml
+++ b/.github/workflows/get-api-diff.yml
@@ -171,3 +171,16 @@ jobs:
path: api-head.json
- name: Kill Misskey Job
run: screen -S misskey -X quit
+
+ save-pr-number:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Save PR number
+ env:
+ PR_NUMBER: ${{ github.event.number }}
+ run: |
+ echo "$PR_NUMBER" > ./pr_number
+ - uses: actions/upload-artifact@v3
+ with:
+ name: api-artifact
+ path: pr_number