Skip to content

Commit

Permalink
Merge branch '1' of https://github.com/fawazahmed0/quran-api into 1
Browse files Browse the repository at this point in the history
  • Loading branch information
fawazahmed0 committed Dec 3, 2020
2 parents 4384f6f + 7429818 commit d32d574
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ jobs:
if: ${{ github.event_name != 'workflow_dispatch' }}
shell: bash
run: |
echo "::set-env name=mycmd::$(sed -n '1 p' command.txt)"
echo "::set-env name=myargs::$(sed -n '2 p' command.txt)"
echo "mycmd=$(sed -n '1 p' command.txt)" >> $GITHUB_ENV
echo "myargs=$(sed -n '2 p' command.txt)" >> $GITHUB_ENV
- name: Setting the command values using the manually entered values
if: ${{ github.event_name == 'workflow_dispatch' }}
shell: bash
run: |
echo "::set-env name=mycmd::${{ github.event.inputs.cmdval }}"
echo "::set-env name=myargs::${{ github.event.inputs.argval }}"
echo "mycmd=${{ github.event.inputs.cmdval }}" >> $GITHUB_ENV
echo "myargs=${{ github.event.inputs.argval }}" >> $GITHUB_ENV
- name: Print command with args for debug
shell: bash
Expand Down

0 comments on commit d32d574

Please sign in to comment.