Skip to content

Merge pull request #193 from SiaFoundation/chris/fix-ci #202

Merge pull request #193 from SiaFoundation/chris/fix-ci

Merge pull request #193 from SiaFoundation/chris/fix-ci #202

Workflow file for this run

name: Publish
# Controls when the action will run.
on:
# Triggers the workflow on new SemVer tags
push:
branches:
- master
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-**"
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
jobs:
publish:
uses: SiaFoundation/workflows/.github/workflows/go-publish.yml@master

Check failure on line 19 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / Publish

Invalid workflow file

The workflow is not valid. In .github/workflows/publish.yml (Line: 19, Col: 11): Error from called workflow SiaFoundation/workflows/.github/workflows/go-publish.yml@master (Line: 286, Col: 9): Unexpected symbol: '}}'. Located at position 75 within expression: startsWith(inputs.version-tag, 'v') && !contains(inputs.version-tag, '-') }}
secrets: inherit
with:
linux-build-args: -tags=timetzdata -trimpath -a -ldflags '-s -w -linkmode external -extldflags "-static"'
windows-build-args: -tags=timetzdata -trimpath -a -ldflags '-s -w -linkmode external -extldflags "-static"'
macos-build-args: -tags=timetzdata -trimpath -a -ldflags '-s -w'
cgo-enabled: 1
project: walletd
project-desc: "walletd: The new Sia wallet"
version-tag: ${{ github.ref_name }}