Better way to check if building from tag
Some checks are pending
Builds / XTChain (push) Has started running
Some checks are pending
Builds / XTChain (push) Has started running
This commit is contained in:
parent
b9d0458a65
commit
ecd243ed0d
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
Block a user