Skip to content

Commit a7e8220

Browse files
committed
Once.f
1 parent d08db2e commit a7e8220

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
with:
5858
name: gradle-build-output
5959
path: build/
60+
if-no-files-found: error
6061

6162
publish:
6263
name: Publish
@@ -85,7 +86,16 @@ jobs:
8586
uses: actions/download-artifact@v4
8687
with:
8788
name: gradle-build-output
88-
path: .
89+
path: build/
90+
91+
- name: Verify restored Gradle build output
92+
env:
93+
ORG_GRADLE_PROJECT_version: ${{ needs.build.outputs.gradle_version }}
94+
run: |
95+
find build -maxdepth 3 -type f | sort
96+
test -d build/libs
97+
test -f "build/libs/java-ref-plugin-${ORG_GRADLE_PROJECT_version}.jar"
98+
test -f "build/libs/java-ref-plugin-${ORG_GRADLE_PROJECT_version}-sources.jar"
8999
90100
- name: Publish release to GitHub Packages
91101
env:

0 commit comments

Comments
 (0)