Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 3 additions & 26 deletions .github/workflows/popcorn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
paths:
- "**/build-logic/**"
- "**.kts"
- "**/popcorn.yml"
- "**/libs.versions.toml"

jobs:
popcorn:
Expand All @@ -21,28 +21,5 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Run popcorn
id: module_analysis
run: ./gradlew popcornParent -PerrorReportEnabled

- name: Read Markdown file
if: failure()
id: read_md
run: |
content=$(find . -type f -regex ".*/build/reports/popcornguineapig/errorReport.md" -exec cat {} +)
echo "content<<EOF" >> $GITHUB_OUTPUT
echo "$content" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT

- name: Post comment with module analysis
if: failure()
uses: thollander/actions-comment-pull-request@v3
with:
comment-tag: module-analysis-report
message: ${{ steps.read_md.outputs.content }}

- name: Delete comment with module analysis
uses: thollander/actions-comment-pull-request@v3
with:
comment-tag: module-analysis-report
mode: delete
- name: Run Popcorn
uses: CodandoTV/popcorn-guineapig/.github/actions/popcorn@main
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ appcompat = "1.7.0"
material = "1.12.0"
accompanist = "0.31.3-beta"
activity-compose = "1.8.2"
popcorngp = "3.1.2"
popcorngp = "3.2.0"

work-runtime = "2.10.1"
kmpnotifier = "1.5.1"
Expand Down
Loading