Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-wasi authored Jan 9, 2025
1 parent 9ac558c commit 822c081
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Publish

on:
push:
branches:
- build-script
workflow_run:
workflows: ["Build"]
types:
Expand All @@ -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: .
Expand All @@ -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"
gh release create "$version" "$new_name" --notes "Release $version"

0 comments on commit 822c081

Please sign in to comment.