Skip to content

Commit

Permalink
composite actions can only take strings?
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Kusumgar committed Nov 7, 2024
1 parent 13ab650 commit 12a9d3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/setup-and-login/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Setup Node, Env and login to GHCR
inputs:
install-packages:
required: false
default: false
default: 'false'
build-and-run-server:
required: false
default: false
default: 'false'
ghcr-username:
required: false
default: ''
Expand Down Expand Up @@ -51,14 +51,14 @@ runs:
node-version: 20

- name: Install packages
if: inputs.install-packages == true
if: inputs.install-packages == 'true'
shell: bash
run: |
npm i --prefix=app/server
npm i --prefix=app/static
- name: Build and run server
if: inputs.build-and-run-server == true
if: inputs.build-and-run-server == 'true'
shell: bash
run: |
./scripts/build.sh
Expand Down

0 comments on commit 12a9d3f

Please sign in to comment.