Better way to check if building from tag
Builds / XTChain (push) Has started running Details

This commit is contained in:
Rafal Kupiec 2023-07-15 09:00:33 +02:00
parent b9d0458a65
commit ecd243ed0d
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}