Skip to content

Commit ae1ed84

Browse files
committed
fix(ci): get proper release url (hopefully)
1 parent be6d05e commit ae1ed84

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,19 @@ jobs:
5050
run: |
5151
just doc
5252
just package out
53+
54+
- name: Get release
55+
id: get_release
56+
uses: bruceadams/get-release@v1.3.2
57+
env:
58+
GITHUB_TOKEN: ${{ github.token }}
59+
5360
- name: Upload manual
5461
uses: actions/upload-release-asset@v1
5562
env:
5663
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5764
with:
58-
upload_url: ${{ github.event.release.upload_url }}
65+
upload_url: ${{ steps.get_release.outputs.upload_url }}
5966
asset_path: docs/manual.pdf
6067
asset_name: "${PKG_NAME}-${PKG_VERSION}-manual.pdf"
6168
asset_content_type: application/pdf

0 commit comments

Comments
 (0)