Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
publicarray committed Mar 15, 2021
1 parent 1bc9cfa commit 9b5ba26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ echo "$GH_PACKAGE"
make TCVERSION=${GH_ARCH##*-} ARCH=${GH_ARCH%%-*} -C spk/${GH_PACKAGE}

# publish to synocommunity.com when the API key is set
if [-n $API_KEY ]; then
if [ -n "${API_KEY}" ]; then
make TCVERSION=${GH_ARCH##*-} ARCH=${GH_ARCH%%-*} publish -C spk/${GH_PACKAGE}
fi
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ jobs:
release:
needs: build
name: Release
## Build a github release on a git tag with the format 'packagename-version'
## But don't make a github release when the PUBLISH_API_KEY is set.
if: startsWith(github.ref, 'refs/tags/') && secrets.PUBLISH_API_KEY == ''
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Download build artifacts
Expand Down

0 comments on commit 9b5ba26

Please sign in to comment.