Skip to content

Commit 0606baa

Browse files
Update pack.yml
1 parent f8ccf2b commit 0606baa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pack.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ jobs:
2323
run: |
2424
mvn package -DskipTests --batch-mode
2525
mkdir result
26-
cp pom.xml result/aspose-email-cloud-0.0.1.pom
2726
cp target/*.jar result
27+
file=$(basename -- ./result/aspose-email-cloud-*-sources.jar)
28+
file=${file%-sources.jar}
29+
version=${file##*-}
30+
cp pom.xml result/aspose-email-cloud-$version.pom
2831
- name: Upload artifact
2932
uses: actions/upload-artifact@v1
3033
with:

0 commit comments

Comments
 (0)