Skip to content

Commit a5851f0

Browse files
committed
build: clean after building
1 parent 963ae3a commit a5851f0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ jobs:
3333
build
3434
node_modules
3535
key: ${{ runner.os }}-gradle-npm-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'package-lock.json') }}
36-
- name: Build with Gradle
36+
- name: Build
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-
run: ./gradlew build --no-daemon
39+
# Cleaning is necessary to avoid uploading two identical artifacts with different versions
40+
run: ./gradlew clean --no-daemon
4041
- name: Setup semantic-release
4142
run: npm install
4243
- name: Release

0 commit comments

Comments
 (0)