Skip to content

Commit

Permalink
Fix empty branch name for some workflows (#1236)
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-goral authored Oct 13, 2020
1 parent 425e668 commit b2501e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: eskatos/gradle-command-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HEAD_REF: ${{ github.head_ref }}
HEAD_REF: ${{ github.ref }}
with:
arguments: "clean build"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-non-wsl-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
shell: cmd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HEAD_REF: ${{ github.head_ref }}
HEAD_REF: ${{ github.ref }}
run: |
gradlew.bat clean build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wsl-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Gradle clean build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HEAD_REF: ${{ github.head_ref }}
HEAD_REF: ${{ github.ref }}
run: |
./gradlew clean build
Expand Down

0 comments on commit b2501e2

Please sign in to comment.