Fix Github Release ID (#163)

This commit is contained in:
foss-mc 2020-08-28 17:59:22 +08:00 committed by GitHub
parent 1b579ef312
commit cd5dd62399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,8 +70,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # automatically provided by github actions
with:
upload_url: https://uploads.github.com/repos/YatopiaMC/Yatopia/releases/28703947/assets{?name,label} # find out this value by opening https://api.github.com/repos/<owner>/<repo>/releases in your browser and copy the full "upload_url" value including the {?name,label} part
release_id: 28703947 # same as above (id can just be taken out the upload_url, it's used to find old releases)
upload_url: https://uploads.github.com/repos/YatopiaMC/Yatopia/releases/30125485/assets{?name,label} # find out this value by opening https://api.github.com/repos/<owner>/<repo>/releases in your browser and copy the full "upload_url" value including the {?name,label} part
release_id: 30125485 # same as above (id can just be taken out the upload_url, it's used to find old releases)
asset_path: yatopia-1.16.2-paperclip.jar # path to archive to upload
asset_name: Yatopia-1.16.2-JDK${{ matrix.java }}-paperclip.jar # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash
asset_content_type: application/zip # required by GitHub API