Skip to content

Commit

Permalink
fix: Try GITHUB_REF instead for current branch
Browse files Browse the repository at this point in the history
  • Loading branch information
owenconti committed Dec 1, 2019
1 parent b446137 commit e6bcd41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
run: ./vendor/bin/phpunit
release:
name: Release
if: ${{ github.ref == 'master' }}
if: ${{ $GITHUB_REF == 'master' }}
needs: test
runs-on: ubuntu-18.04
steps:
Expand Down

0 comments on commit e6bcd41

Please sign in to comment.