Skip to content

Commit

Permalink
ci(publishing): rename pre-release.yml to latest-release.yml, upload …
Browse files Browse the repository at this point in the history
…all files in dist/ folder, use a different action for only uploading the assets in tagged-release.yml (#4)

* ci(publishing): rename pre-release.yml to latest-release.yml, upload all files in dist/ folder, use a different action for only uploading the assets in tagged-release.yml
  • Loading branch information
EchoEllet authored Jun 22, 2024
1 parent 211a4b9 commit 84486bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ jobs:
title: "🔥 Unstable Edition 🔥"
files: |
LICENSE
sync-script/build/dist/*.jar
admin/build/dist/*.jar
sync-script/build/dist/*
admin/build/dist/*
12 changes: 4 additions & 8 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,9 @@ jobs:
- name: 🛡️ Build the Minimized JAR with Proguard
run: ./gradlew minimizedJar -i

# TODO: This GitHub action is no longer maintained https://github.com/marvinpinto/actions/commit/40312c52f0ca0d0589b25e8f5172a3613f0759c3
- name: ⬆️ Upload the assets
uses: "marvinpinto/action-automatic-releases@latest"
uses: AButler/upload-release-assets@v3.0
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
LICENSE
sync-script/build/dist/*.jar
admin/build/dist/*.jar
repo-token: ${{ secrets.GITHUB_TOKEN }}
files: "LICENSE;sync-script/build/dist/*;admin/build/dist/*"
release-tag: ${{ github.ref_name }}

0 comments on commit 84486bb

Please sign in to comment.