Skip to content

Commit

Permalink
Create manual.yml (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliov authored Sep 2, 2020
1 parent dea35e1 commit 43271f9
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Manual workflow

on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
name:
# Friendly description to be shown in the UI instead of 'name'
description: 'Person to greet'
# Default value if no value is explicitly provided
default: 'World'
# Input has to be provided for the workflow to run
required: true

jobs:
doit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: 'Prepare integration tests'
run: |
echo "$LOGONDATA_JSON" > $GITHUB_WORKSPACE/src/integrationtests-cli/logon-data.json
export LOGONDATA_FNAME=$GITHUB_WORKSPACE/src/integrationtests-cli/logon-data.json
INTEGRATIONTEST_SUBSCRIPTIONID=$(jq -r '.subscription?' $LOGONDATA_FNAME)
echo "Next message must display a valid Guid"
echo "Azure subscription for testing: $INTEGRATIONTEST_SUBSCRIPTIONID"
echo "{\"sdk\":{\"version\":\"$DOTNETSDK_VERSION\"} }" > global.json
env:
LOGONDATA_JSON: ${{ secrets.INTEGRATIONTESTS_CLI_LOGONDATA_JSON }}
shell: bash

0 comments on commit 43271f9

Please sign in to comment.