Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
asanzo authored Jan 20, 2020
1 parent 83e0856 commit f164de8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Test env variables
run: echo $HOME $GITHUB_WORKFLOW $GITHUB_ACTION $GITHUB_ACTIONS $GITHUB_ACTOR $GITHUB_REPOSITORY $GITHUB_EVENT_NAME $GITHUB_EVENT_PATH $GITHUB_WORKSPACE $GITHUB_SHA $GITHUB_REF $GITHUB_HEAD_REF $GITHUB_BASE_REF
- name: Get version
run: VERSION=${echo $GITHUB_REF | cut -d'/' -f 3}
run: |
VERSION="echo $GITHUB_REF | cut -d'/' -f 3"
VERSION=${VERSION}
- name: Use version
run: echo The version is $VERSION

0 comments on commit f164de8

Please sign in to comment.