Skip to content

Commit

Permalink
Merge pull request #118 from cybozu-go/fix
Browse files Browse the repository at this point in the history
actions: fix release.yaml
  • Loading branch information
ymmt2005 authored Oct 5, 2020
2 parents 3275baf + 47c22f5 commit 888c14b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@ jobs:
needs: image
runs-on: ubuntu-18.04
steps:
- name: Setup variables
id: vars
run: |
if test -n "$(echo ${{ github.ref }} | grep -e -)"; then
echo "::set-output name=prerelease::true"
else
echo "::set-output name=prerelease::false"
fi
- uses: actions/checkout@v2
- name: Create release
id: create_release
Expand All @@ -58,4 +50,4 @@ jobs:
body: |
See [CHANGELOG.md](./CHANGELOG.md) for details.
draft: false
prerelease: ${{ steps.vars.outputs.prerelease == 'true' }}
prerelease: ${{ contains(github.ref, '-') }}

0 comments on commit 888c14b

Please sign in to comment.