Skip to content

Commit

Permalink
feat(test): [PM-0000] add git ref variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ratchadj committed Sep 15, 2022
1 parent 8bbab06 commit c52c783
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# - uses: actions/checkout@v3
- name: Check out repository
id: checkout
uses: actions/checkout@v3
with:
ref: ${{ secrets.RELEASE_VERSION }}
# with:
# ref: ${{ steps.secrets.outputs.RELEASE_VERSION }}

Expand All @@ -50,5 +53,5 @@ jobs:
echo Add other actions to build,
echo test, and deploy your project.
# Get Branch Name
- name: Branch name with RELEASE_VERSION ${{ secrets.RELEASE_VERSION }}
- name: Branch name with RELEASE_VERSION ${{ github.ref }}
run: echo running on branch ${GITHUB_REF##*/}

0 comments on commit c52c783

Please sign in to comment.