mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-25 20:16:09 +01:00
Fix Github Release ID (#163)
This commit is contained in:
parent
1b579ef312
commit
cd5dd62399
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user