Skip to content

Commit

Permalink
fix actionlint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Jul 12, 2021
1 parent a407450 commit 559f0f3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ on:

jobs:
release:
if: github.event.action != 'labeled'
if: ${{ github.event.action != 'labeled' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# Bump version on merging Pull Requests with specific labels.
# (bump:major,bump:minor,bump:patch)
- id: bumpr
if: "!startsWith(github.ref, 'refs/tags/')"
if: "${{ !startsWith(github.ref, 'refs/tags/') }}"
uses: haya14busa/action-bumpr@v1

# Update corresponding major and minor tag.
# e.g. Update v1 and v1.2 when releasing v1.2.3
- uses: haya14busa/action-update-semver@v1
if: "!steps.bumpr.outputs.skip"
if: "${{ !steps.bumpr.outputs.skip }}"
with:
tag: ${{ steps.bumpr.outputs.next_version }}

Expand All @@ -39,7 +39,7 @@ jobs:

# Create release.
- uses: actions/create-release@v1
if: "steps.tag.outputs.value != ''"
if: "${{ steps.tag.outputs.value != '' }}"
env:
# This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -51,7 +51,7 @@ jobs:
prerelease: false

release-check:
if: github.event.action == 'labeled'
if: "${{ github.event.action == 'labeled' }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 559f0f3

Please sign in to comment.