diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9255a58..53fb199 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: fetch-depth: 0 - name: Get branch name - run: echo "BranchName=${{GITHUB_REF_NAME}}" >> $env:GITHUB_ENV + run: echo "BranchName=${{env.GITHUB_REF_NAME}}" >> $env:GITHUB_ENV - name: Get commit hash run: echo "CommitHash=$(git rev-parse --short=7 HEAD)" >> $env:GITHUB_ENV