From 8a3365f394cf977e1a5e141eb98c081dc9a786a8 Mon Sep 17 00:00:00 2001 From: Zefir Kirilov Date: Mon, 9 Dec 2024 16:56:08 +0200 Subject: [PATCH] Use the `cloudnode-pro/release-upload-asset` GitHub action --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7804f91..0cff75f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,11 +27,9 @@ jobs: run: mvn -B clean package --file pom.xml - name: Upload to release - uses: JasonEtco/upload-to-release@master + uses: cloudnode-pro/release-upload-asset@1.0.0 with: - args: target/BankAccounts-${{ github.event.release.tag_name }}.jar application/java-archive - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + files: target/BankAccounts-${{ github.event.release.tag_name }}.jar; type=application/java-archive - name: Upload to Modrinth uses: cloudnode-pro/modrinth-publish@2.0.0