Skip to content

Commit

Permalink
Add artifacts to Github release manually.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnuecke committed Jan 21, 2023
1 parent 0777049 commit 02b0383
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:
- name: Build with Gradle
run: ./gradlew -Psemver='${{ steps.split_tag.outputs._1 }}' build

- name: Add Artifacts to Github Release
uses: alexellis/upload-assets@0.3.0
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '["./build/libs/*.jar"]'

- name: Publish to Curseforge and Minotaur
uses: Kir-Antipov/mc-publish@v3.2
with:
Expand All @@ -49,5 +56,3 @@ jobs:

curseforge-id: 275083
curseforge-token: ${{ secrets.CURSEFORGE_API_KEY }}

github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 02b0383

Please sign in to comment.