Skip to content

Commit 43271f9

Browse files
authored
Create manual.yml (#167)
1 parent dea35e1 commit 43271f9

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/manual.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Manual workflow
2+
3+
on:
4+
workflow_dispatch:
5+
# Inputs the workflow accepts.
6+
inputs:
7+
name:
8+
# Friendly description to be shown in the UI instead of 'name'
9+
description: 'Person to greet'
10+
# Default value if no value is explicitly provided
11+
default: 'World'
12+
# Input has to be provided for the workflow to run
13+
required: true
14+
15+
jobs:
16+
doit:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v1
20+
- name: 'Prepare integration tests'
21+
run: |
22+
echo "$LOGONDATA_JSON" > $GITHUB_WORKSPACE/src/integrationtests-cli/logon-data.json
23+
export LOGONDATA_FNAME=$GITHUB_WORKSPACE/src/integrationtests-cli/logon-data.json
24+
INTEGRATIONTEST_SUBSCRIPTIONID=$(jq -r '.subscription?' $LOGONDATA_FNAME)
25+
echo "Next message must display a valid Guid"
26+
echo "Azure subscription for testing: $INTEGRATIONTEST_SUBSCRIPTIONID"
27+
echo "{\"sdk\":{\"version\":\"$DOTNETSDK_VERSION\"} }" > global.json
28+
env:
29+
LOGONDATA_JSON: ${{ secrets.INTEGRATIONTESTS_CLI_LOGONDATA_JSON }}
30+
shell: bash

0 commit comments

Comments
 (0)