We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1728d3a commit 916eb56Copy full SHA for 916eb56
.github/workflows/lib.yml
@@ -121,3 +121,21 @@ jobs:
121
git add ${{ env.RESULT_LIBRARY_TEST_FILE }}
122
git commit -m "Generated External Libraries Test Results"
123
git push origin HEAD:gh-pages
124
+
125
+ #Upload PR number as artifact
126
+ upload-pr-number:
127
+ name: Upload PR number
128
+ if: github.event_name == 'pull_request'
129
+ runs-on: ubuntu-latest
130
+ steps:
131
+ - name: Save the PR number in an artifact
132
+ shell: bash
133
+ env:
134
+ PR_NUM: ${{ github.event.number }}
135
+ run: echo $PR_NUM > pr_num.txt
136
+ - name: Upload PR number
137
+ uses: actions/upload-artifact@v4
138
+ with:
139
+ name: pr_number
140
+ path: ./pr_num.txt
141
+ overwrite: true
0 commit comments