add step to launch release tests #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android App Production 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 | ||
if: ${{ failure() }} | ||
id: create-failure-task | ||
uses: duckduckgo/[email protected] | ||
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' |