Skip to content

Commit

Permalink
fix release github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Aug 3, 2023
1 parent 220b2b7 commit d66cdad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 29 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,31 +57,3 @@ jobs:
extensions/format-xm/build/libs/lavaplayer-ext-format-xm-*.jar
extensions/youtube-rotator/build/libs/lavaplayer-ext-youtube-rotator-*.jar
natives-publish/build/libs/lavaplayer-natives-*.jar
release:
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'release'
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Download main Artifact
uses: actions/download-artifact@v3
with:
name: Lavaplayer.zip

- name: Upload Artifacts to GitHub Release
uses: ncipollo/release-action@v1
with:
artifacts: |
main/build/libs/lavaplayer-*.jar
common/build/libs/lava-common-*.jar
extensions/format-xm/build/libs/lavaplayer-ext-format-xm-*.jar
extensions/youtube-rotator/build/libs/lavaplayer-ext-youtube-rotator-*.jar
natives-publish/build/libs/lavaplayer-natives-*.jar
allowUpdates: true
omitBodyDuringUpdate: true
omitDraftDuringUpdate: true
omitNameDuringUpdate: true
omitPrereleaseDuringUpdate: true
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ jobs:
- name: Upload Artifacts to GitHub Release
uses: ncipollo/release-action@v1
with:
artifacts: Lavaplayer.zip
artifacts: |
main/build/libs/lavaplayer-*.jar
common/build/libs/lava-common-*.jar
extensions/format-xm/build/libs/lavaplayer-ext-format-xm-*.jar
extensions/youtube-rotator/build/libs/lavaplayer-ext-youtube-rotator-*.jar
natives-publish/build/libs/lavaplayer-natives-*.jar
allowUpdates: true
omitBodyDuringUpdate: true
omitDraftDuringUpdate: true
Expand Down

0 comments on commit d66cdad

Please sign in to comment.