Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Amiya-873 authored Sep 24, 2024
1 parent 48f7f0b commit ca936ec
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ jobs:
- name: Archive artifacts
run: |
mkdir -p dist
cp dist/datapower-v*.zip dist/
cp dist/dcm.jar dist/
# Check if the file exists before copying
if [ -f dist/datapower-v*.zip ]; then
cp dist/datapower-v*.zip dist/
fi
if [ -f dist/dcm.jar ]; then
cp dist/dcm.jar dist/
fi
- name: Extract Plugin Version
id: extract_version
Expand Down

0 comments on commit ca936ec

Please sign in to comment.