From 822c081b4b621c67314809b8ca3160c7f438e425 Mon Sep 17 00:00:00 2001 From: Tomasz Wasielewski <79154397+tom-wasi@users.noreply.github.com> Date: Thu, 9 Jan 2025 17:49:42 +0100 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 909ba7b..1e5fc85 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,9 +1,6 @@ name: Publish on: - push: - branches: - - build-script workflow_run: workflows: ["Build"] types: @@ -18,7 +15,7 @@ jobs: uses: actions/checkout@v2 - name: Download JAR artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: app-jar path: . @@ -29,4 +26,4 @@ jobs: jar_file=$(ls *.jar) new_name="${version}.jar" mv "$jar_file" "$new_name" - gh release create "$version" "$new_name" --notes "Release $version" \ No newline at end of file + gh release create "$version" "$new_name" --notes "Release $version"