build: clean after building

This commit is contained in:
oSumAtrIX 2023-08-24 15:35:21 +02:00
parent 963ae3a5fa
commit a5851f0c1a
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
1 changed files with 3 additions and 2 deletions

View File

@ -33,10 +33,11 @@ jobs:
build
node_modules
key: ${{ runner.os }}-gradle-npm-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'package-lock.json') }}
- name: Build with Gradle
- name: Build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew build --no-daemon
# Cleaning is necessary to avoid uploading two identical artifacts with different versions
run: ./gradlew clean --no-daemon
- name: Setup semantic-release
run: npm install
- name: Release