Template
mirror of
https://github.com/MorpheApp/morphe-patches-template.git
synced 2026-12-01 00:19:34 +00:00
chore: Break out release clean step with an explanation why it's required
This commit is contained in:
1 parent
ca5f35945f
commit
70fa48ca8c
1 file changed
+11
-1
@@ -28,10 +28,20 @@ jobs:
|
|||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: '21'
|
java-version: '21'
|
||||||
|
|
||||||
|
# Verify the build isn't broken. This is required for
|
||||||
|
# chore commits where semantic release doesn't run.
|
||||||
- name: Build
|
- name: Build
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: ./gradlew :patches:buildAndroid generatePatchesList clean
|
run: ./gradlew :patches:buildAndroid
|
||||||
|
|
||||||
|
# Cleaning up is necessary otherwise semantic release will create two artifacts,
|
||||||
|
# One artifact of the current release number and a second of the new release.
|
||||||
|
# Semantic release runs its own compilation step and
|
||||||
|
- name: Cleanup build
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: ./gradlew clean
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v6
|
uses: actions/setup-node@v6
|
||||||
|
|||||||
Reference in new issue
Block a user