Skip to content

Commit

Permalink
Try more direct access to GITHUB_REF
Browse files Browse the repository at this point in the history
  • Loading branch information
leehart committed Sep 28, 2023
1 parent 37f6cf5 commit e681184
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/tag_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ jobs:
tag_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set RELEASE_VERSION env var
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Eyeball RELEASE_VERSION env var
- name: Eyeball GITHUB_REF
run: echo $GITHUB_REF#refs/*/
- name: Set TAG_RELEASE_VERSION env var
run: echo "TAG_RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Eyeball TAG_RELEASE_VERSION env var
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}

0 comments on commit e681184

Please sign in to comment.