Skip to content

Commit

Permalink
check existence
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Lee authored and Kyle Lee committed Oct 9, 2024
1 parent a1a32c0 commit 699b2a5
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/spm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,33 @@ jobs:
run: |
rm -rf *.zip
- name: Verify Files Exist
run: |
if [[ -f "Package.swift" && -d "axeDevToolsXCUI.doccarchive" && -d "axeDevToolsXCUI.xcframework" ]]; then
echo "All required files and directories are present."
else
echo "One or more required files/directories are missing."
exit 1
fi
- name: Commit changes
run: |
git config user.name "deque-mobileteam"
git config user.email "mobileteam@deque.com"
git add axeDevToolsXCUI.*
git commit -m "chore: release ${{ github.event.inputs.releaseVersion }}"
git status
git status
# - name: Create and push tag
# run: |
# git tag -a ${{ github.event.inputs.releaseVersion }} -m "Release ${{ github.event.inputs.releaseVersion }}"
# git push origin tag ${{ github.event.inputs.releaseVersion }}

# - name: Create GitHub release
# uses: softprops/action-gh-release@v2
# with:
# tag_name: ${{ github.event.inputs.releaseVersion }}
# release_name: ${{ github.event.inputs.releaseVersion }}
# generate_release_notes: true
# draft: false
# prerelease: false

0 comments on commit 699b2a5

Please sign in to comment.