From ad5e36737ac1eae2b68342a9104946a6c84b708f Mon Sep 17 00:00:00 2001 From: jhdcruz Date: Mon, 12 Dec 2022 11:58:19 +0800 Subject: [PATCH] replace deprecated release action --- .github/workflows/deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f44d131..99658d9 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,10 +22,11 @@ jobs: - name: Compile project run: mvn clean compile assembly:single - - name: Upload to github releases - uses: yakuhzi/release-asset@latest + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: - file: ./target/*.jar + files: .target/*.jar - name: Update dependency graph uses: advanced-security/maven-dependency-submission-action@multi-module