From cd5dd6239946d5fd6d27fee2476362b62d7cbc85 Mon Sep 17 00:00:00 2001 From: foss-mc <69294560+foss-mc@users.noreply.github.com> Date: Fri, 28 Aug 2020 17:59:22 +0800 Subject: [PATCH] Fix Github Release ID (#163) --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf2f2b90..5a31e7fc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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///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///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