ci(): reordered steps to fix artifacts uploading problem
This commit is contained in:
@@ -30,13 +30,13 @@ jobs:
|
|||||||
- name: Set up Gradle
|
- name: Set up Gradle
|
||||||
uses: gradle/actions/setup-gradle@v6
|
uses: gradle/actions/setup-gradle@v6
|
||||||
|
|
||||||
- name: Run CI quality gate
|
|
||||||
run: ./gradlew clean check bootJar --stacktrace --no-daemon
|
|
||||||
|
|
||||||
- name: Set artifact name
|
- name: Set artifact name
|
||||||
id: meta
|
id: meta
|
||||||
run: echo "artifact-name=build-${{ github.run_id }}-${{ github.run_attempt }}" >> "$GITHUB_OUTPUT"
|
run: echo "artifact-name=build-${{ github.run_id }}-${{ github.run_attempt }}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
|
- name: Run CI quality gate
|
||||||
|
run: ./gradlew clean check bootJar --stacktrace --no-daemon
|
||||||
|
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v7
|
uses: actions/upload-artifact@v7
|
||||||
|
|||||||
Reference in New Issue
Block a user