Skip to content

Commit ecd243e

Browse files
committed
Better way to check if building from tag
1 parent b9d0458 commit ecd243e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Build XTChain
1414
run: CORES=10 ./build-linux.sh
1515
- name: Publish binaries
16-
if: github.ref_type == 'tag'
16+
if: startsWith(github.ref, 'refs/tags/')
1717
env:
1818
OSCW_GITHUB_USERNAME: ${{ secrets.OSCW_GITHUB_USERNAME }}
1919
OSCW_GITHUB_PASSWORD: ${{ secrets.OSCW_GITHUB_PASSWORD }}

0 commit comments

Comments
 (0)