Skip to content

Commit

Permalink
Merge 1be9e63 into b539f4d
Browse files Browse the repository at this point in the history
  • Loading branch information
passy committed Sep 27, 2021
2 parents b539f4d + 1be9e63 commit 1bcec89
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/action-failure-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
title: GitHub Actions Workflow failed - {{ env.WORKFLOW_NAME }}
assignees: passy
labels: bug
---

The workflow {{ env.WORKFLOW_NAME }} failed. You can see it at

https://github.com/{{ env.REPOSITORY }}/actions/runs/{{ env.RUN_ID }}
12 changes: 11 additions & 1 deletion .github/workflows/publish-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
Expand Down Expand Up @@ -54,3 +54,13 @@ jobs:
with:
created_tag: ${{ github.event.inputs.tag }}
args: 'SampleApp-android.apk'
- name: Open issue on failure
if: failure()
uses: JasonEtco/create-an-issue@v2.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: ${{ github.repository }}
RUN_ID: ${{ github.run_id }}
WORKFLOW_NAME: "Publish Android"
with:
filename: .github/action-failure-template.md

0 comments on commit 1bcec89

Please sign in to comment.