Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Sep 18, 2024
1 parent f18dbbc commit c001fb5
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .github/github_workflows.ex
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,7 @@ defmodule GithubWorkflows do
[
name: "Generate an app and start the server",
if: "steps.result_cache.outputs.cache-hit != 'true'",
run:
"source #{config_file} && SHELL=/bin/#{shell} make -f test/scripts/Makefile serve",
run: "SHELL=/bin/#{shell} make -f test/scripts/Makefile serve",
shell: "/bin/#{shell} -l {0}"
],
[
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
shell: /bin/bash -l {0}
- name: Generate an app and start the server
if: steps.result_cache.outputs.cache-hit != 'true'
run: source ~/.bash_profile && SHELL=/bin/bash make -f test/scripts/Makefile serve
run: SHELL=/bin/bash make -f test/scripts/Makefile serve
shell: /bin/bash -l {0}
- name: Check HTTP status code
if: steps.result_cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
shell: /bin/bash -l {0}
- name: Generate an app and start the server
if: steps.result_cache.outputs.cache-hit != 'true'
run: source ~/.bash_profile && SHELL=/bin/bash make -f test/scripts/Makefile serve
run: SHELL=/bin/bash make -f test/scripts/Makefile serve
shell: /bin/bash -l {0}
- name: Check HTTP status code
if: steps.result_cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
shell: /bin/zsh -l {0}
- name: Generate an app and start the server
if: steps.result_cache.outputs.cache-hit != 'true'
run: source ~/.zshrc && SHELL=/bin/zsh make -f test/scripts/Makefile serve
run: SHELL=/bin/zsh make -f test/scripts/Makefile serve
shell: /bin/zsh -l {0}
- name: Check HTTP status code
if: steps.result_cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
shell: /bin/zsh -l {0}
- name: Generate an app and start the server
if: steps.result_cache.outputs.cache-hit != 'true'
run: source ~/.zshrc && SHELL=/bin/zsh make -f test/scripts/Makefile serve
run: SHELL=/bin/zsh make -f test/scripts/Makefile serve
shell: /bin/zsh -l {0}
- name: Check HTTP status code
if: steps.result_cache.outputs.cache-hit != 'true'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
shell: /bin/bash -l {0}
- name: Generate an app and start the server
if: steps.result_cache.outputs.cache-hit != 'true'
run: source ~/.bash_profile && SHELL=/bin/bash make -f test/scripts/Makefile serve
run: SHELL=/bin/bash make -f test/scripts/Makefile serve
shell: /bin/bash -l {0}
- name: Check HTTP status code
if: steps.result_cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
shell: /bin/bash -l {0}
- name: Generate an app and start the server
if: steps.result_cache.outputs.cache-hit != 'true'
run: source ~/.bash_profile && SHELL=/bin/bash make -f test/scripts/Makefile serve
run: SHELL=/bin/bash make -f test/scripts/Makefile serve
shell: /bin/bash -l {0}
- name: Check HTTP status code
if: steps.result_cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
shell: /bin/zsh -l {0}
- name: Generate an app and start the server
if: steps.result_cache.outputs.cache-hit != 'true'
run: source ~/.zshrc && SHELL=/bin/zsh make -f test/scripts/Makefile serve
run: SHELL=/bin/zsh make -f test/scripts/Makefile serve
shell: /bin/zsh -l {0}
- name: Check HTTP status code
if: steps.result_cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
shell: /bin/zsh -l {0}
- name: Generate an app and start the server
if: steps.result_cache.outputs.cache-hit != 'true'
run: source ~/.zshrc && SHELL=/bin/zsh make -f test/scripts/Makefile serve
run: SHELL=/bin/zsh make -f test/scripts/Makefile serve
shell: /bin/zsh -l {0}
- name: Check HTTP status code
if: steps.result_cache.outputs.cache-hit != 'true'
Expand Down
2 changes: 1 addition & 1 deletion priv/static/Linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function install() {
"mise")
curl https://mise.run | sh
command='"$(~/.local/bin/mise activate '$current_shell')"'
echo -e "\n\neval$command" >>$config_file
echo -e "\n\neval $command" >>$config_file
eval "$command"
eval "$(~/.local/bin/mise hook-env)"

Expand Down
2 changes: 1 addition & 1 deletion priv/static/macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function install() {
"mise")
curl https://mise.run | sh
command='"$(~/.local/bin/mise activate '$current_shell')"'
echo -e "\n\neval$command" >>$config_file
echo -e "\n\neval $command" >>$config_file
eval "$command"
eval "$(~/.local/bin/mise hook-env)"

Expand Down

0 comments on commit c001fb5

Please sign in to comment.