Skip to content

Commit

Permalink
Fixed invalid syntax of actions yaml
Browse files Browse the repository at this point in the history
* Fix non-scalar condition
* Removed duplicated env
  • Loading branch information
hsbt committed Feb 1, 2024
1 parent 99a00ff commit 5224006
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:

jobs:
build_jammy:
if: 'nightly' == ${{ inputs.ruby_version }}
if: "'nightly' == '${{ inputs.ruby_version }}'"

defaults:
run:
Expand All @@ -30,8 +30,6 @@ jobs:
runs-on: ubuntu-latest

env:
cppflags: "${{ env.cppflags }}"
optflags: "${{ env.optflags }}"
nightly: true
push: true
ubuntu_version: jammy
Expand Down Expand Up @@ -83,7 +81,7 @@ jobs:
push_tags: "${{ env.push_tags }}"

build_1:
if: 'nightly' == ${{ inputs.ruby_version }}
if: "'nightly' == '${{ inputs.ruby_version }}'"

defaults:
run:
Expand All @@ -92,8 +90,6 @@ jobs:
runs-on: ubuntu-latest

env:
cppflags: "${{ env.cppflags }}"
optflags: "${{ env.optflags }}"
nightly: true
push: true
ubuntu_version: focal
Expand Down Expand Up @@ -145,7 +141,7 @@ jobs:
push_tags: "${{ env.push_tags }}"

build_focal:
if: 'nightly' == ${{ inputs.ruby_version }}
if: "'nightly' == '${{ inputs.ruby_version }}'"

defaults:
run:
Expand All @@ -154,8 +150,6 @@ jobs:
runs-on: ubuntu-latest

env:
cppflags: "${{ env.cppflags }}"
optflags: "${{ env.optflags }}"
nightly: true
push: true
ubuntu_version: jammy
Expand Down

0 comments on commit 5224006

Please sign in to comment.