Skip to content

ci(publishing): rename pre-release.yml to latest-release.yml, upload … #2

ci(publishing): rename pre-release.yml to latest-release.yml, upload …

ci(publishing): rename pre-release.yml to latest-release.yml, upload … #2

Workflow file for this run

name: 🏷️ Tagged-release 🚀
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"
jobs:
publish:
permissions:
contents: write
name: 📦 Upload the assets
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: 📥 Clone Repository
uses: actions/checkout@v4
- name: ☕ Setup JDK 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'adopt'
- name: 🛠️ Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
validate-wrappers: true
cache-disabled: false
- name: 📥 Build & Test 🧪 with Gradle
run: ./gradlew build --stacktrace
- name: 🛡️ Build the Minimized JAR with Proguard
run: ./gradlew minimizedJar -i
- name: ⬆️ Upload the assets
uses: AButler/upload-release-assets@v3.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
files: "LICENSE;sync-script/build/dist/*;admin/build/dist/*"