Better way to check if building from tag
Builds / XTChain (push) Has started running
Details
Builds / XTChain (push) Has started running
Details
This commit is contained in:
parent
b9d0458a65
commit
ecd243ed0d
|
@ -13,7 +13,7 @@ jobs:
|
|||
- name: Build XTChain
|
||||
run: CORES=10 ./build-linux.sh
|
||||
- name: Publish binaries
|
||||
if: github.ref_type == 'tag'
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
env:
|
||||
OSCW_GITHUB_USERNAME: ${{ secrets.OSCW_GITHUB_USERNAME }}
|
||||
OSCW_GITHUB_PASSWORD: ${{ secrets.OSCW_GITHUB_PASSWORD }}
|
||||
|
|
Loading…
Reference in New Issue