Skip to content

Add always

Add always #30

name: unity-meta-check-push
on: push
jobs:
unity-meta-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# NOTE: Test no arguments for push
- uses: DeNA/[email protected]
# NOTE: Test pr_comment for push
- uses: jwalton/gh-find-current-pr@v1
id: findPr
if: always()
- uses: DeNA/[email protected]
with:
target_path: ./Directory
log_level: DEBUG
ignored_file_path: .meta-check-ignore
enable_junit: true
junit_xml_path: junit.xml
enable_pr_comment: true
pr_comment_lang: ja
pr_comment_send_success: true
pr_comment_pull_number: ${{ steps.findPr.outputs.number }}
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: always()
- uses: actions/upload-artifact@v4
with:
name: junit-test-report
path: junit.xml
if: always()
- uses: mikepenz/action-junit-report@v3
with:
report_paths: junit.xml
detailed_summary: true
if: always()