Skip to content

using same placeholder as other jobs #3

using same placeholder as other jobs

using same placeholder as other jobs #3

Workflow file for this run

name: Android App Release
on:
workflow_dispatch:
inputs:
app-version:
description: 'App Version for Release'
required: true
default: 'PLACEHOLDER'
env:
ASANA_PAT: ${{ secrets.GH_ASANA_SECRET }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
create_release_task:
uses: ./.github/workflows/release_create_task.yml
with:
app-version: ${{ github.event.inputs.app-version }}
create_release_tag:
needs: create_release_task
uses: ./.github/workflows/release_create_tag.yml
with:
app-version: ${{ github.event.inputs.app-version }}
report_error:
- name: Create Asana task when workflow failed

Check failure on line 31 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 31
if: ${{ failure() }}
id: create-failure-task
uses: duckduckgo/native-github-asana-sync@v1.1
with:
asana-pat: ${{ secrets.GH_ASANA_SECRET }}
asana-project: ${{ vars.GH_ANDROID_APP_PROJECT_ID }}
asana-section: ${{ vars.GH_ANDROID_APP_INCOMING_SECTION_ID }}
asana-task-name: GH Workflow Failure - Android App Release
asana-task-description: Android App Release has failed. See https://github.com/duckduckgo/Android/actions/runs/${{ github.run_id }}
action: 'create-asana-task'