From 688f9d6da3e6b8383ba73fa52581cfd62d1a0836 Mon Sep 17 00:00:00 2001 From: Ovydux <68059159+Ovydux@users.noreply.github.com> Date: Mon, 20 Jul 2020 17:24:21 +0300 Subject: [PATCH 1/2] Update build.yml --- .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 56aba93b..88008ade 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: - java: [11, 8, 14] + java: [14, 11, 8] steps: - name: Cancel Previous Runs @@ -73,6 +73,6 @@ jobs: upload_url: https://uploads.github.com/repos/tr7zw/YAPFA/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) asset_path: target/YAPFA-1.16.1-paperclip.jar # path to archive to upload - asset_name: YAPFA-1.16.1-${{ matrix.java }}-$$-paperclip.jar # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash + asset_name: YAPFA-1.16.1-${{ matrix.java }}JDK-$$-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 max_releases: 3 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted From 975c48e785fd8ddeebe472b2c0739ea7e0fef340 Mon Sep 17 00:00:00 2001 From: Ovydux <68059159+Ovydux@users.noreply.github.com> Date: Mon, 20 Jul 2020 17:26:59 +0300 Subject: [PATCH 2/2] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 88008ade..3469e641 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,6 +73,6 @@ jobs: upload_url: https://uploads.github.com/repos/tr7zw/YAPFA/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) asset_path: target/YAPFA-1.16.1-paperclip.jar # path to archive to upload - asset_name: YAPFA-1.16.1-${{ matrix.java }}JDK-$$-paperclip.jar # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash + asset_name: YAPFA-1.16.1-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 max_releases: 3 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted