Skip to content

Commit fcdf77c

Browse files
committed
Debug variables in workflow
1 parent 429522c commit fcdf77c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release-binary.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@ jobs:
2727
- name: Checkout code
2828
uses: actions/checkout@v5
2929

30+
- name: Debugging
31+
if: ${{ github.repository }}
32+
run: |
33+
echo ${{github.repository}}
34+
echo ${{github.ref}}
35+
echo $GITHUB_REF
36+
echo ${{ github.repository == 'lycheeverse/lychee' }}
37+
echo ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' }}
38+
echo ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') }}
39+
echo ${{ github.repository == 'lycheeverse/lychee' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') }}
40+
exit 1
41+
3042
- name: Get release
3143
id: get_release
3244
uses: bruceadams/[email protected]

0 commit comments

Comments
 (0)