Skip to content

Commit 59d76ba

Browse files
committed
chore: add documents to release upload
1 parent 6b3eefb commit 59d76ba

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/release-build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,16 @@ jobs:
9090
GH_TOKEN: ${{ github.token }}
9191
REPOSITORY_OWNER: ${{ github.repository_owner }}
9292
REPOSITORY_NAME: ${{ github.event.repository.name }}
93+
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
94+
with:
95+
pattern: documents
96+
- name: Upload documents to release
97+
run: |
98+
set -Eeuo pipefail
99+
gh release upload "${REF_NAME}" ./*.pdf
100+
env:
101+
GH_REPO: ${{ github.repository }}
102+
GH_TOKEN: ${{ github.token }}
93103
- name: Update package details in release
94104
run: |
95105
set -Eeuo pipefail

.github/workflows/wc-document-generation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ jobs:
3333
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3434
with:
3535
name: documents
36-
path: software-requirements-specification.pdf
36+
path: "*.pdf"
3737
retention-days: 2

0 commit comments

Comments
 (0)