Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Sep 17, 2024
1 parent 2d4936d commit d81e3fd
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/github_workflows.ex
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,11 @@ defmodule GithubWorkflows do
run: run_command,
shell: "/bin/#{shell} -l {0}"
],
# [
# name: "Setup upterm session",
# uses: "lhotari/action-upterm@v1",
# if: "always()"
# ],
[
name: "Setup upterm session",
uses: "lhotari/action-upterm@v1",
if: "always()"
],
[
name: "Check HTTP status code",
if: "steps.result_cache.outputs.cache-hit != 'true'",
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
if: steps.result_cache.outputs.cache-hit != 'true'
run: source ~/.zshrc && SHELL=/bin/zsh make -f test/scripts/Makefile serve
shell: /bin/zsh -l {0}
- name: Setup upterm session
uses: lhotari/action-upterm@v1
if: always()
- name: Check HTTP status code
if: steps.result_cache.outputs.cache-hit != 'true'
uses: nick-fields/retry@v2
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
if: steps.result_cache.outputs.cache-hit != 'true'
run: source ~/.zshrc && SHELL=/bin/zsh make -f test/scripts/Makefile serve
shell: /bin/zsh -l {0}
- name: Setup upterm session
uses: lhotari/action-upterm@v1
if: always()
- name: Check HTTP status code
if: steps.result_cache.outputs.cache-hit != 'true'
uses: nick-fields/retry@v2
Expand Down
5 changes: 1 addition & 4 deletions priv/static/Linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,15 @@ function install() {
case $current_shell in
"bash")
echo 'eval "$(~/.local/bin/mise activate bash)"' >>$config_file
mise activate bash
;;
"fish")
echo '~/.local/bin/mise activate fish | source' >>$config_file
mise activate fish
;;
"zsh")
echo 'eval "$(~/.local/bin/mise activate zsh)"' >>$config_file
mise activate zsh
;;
esac
mise activate $current_shell
;;
"Erlang")
sudo apt-get update
Expand All @@ -115,7 +113,6 @@ function install() {
mix archive.install --force hex phx_new $phoenix_version
;;
"PostgreSQL")
echo "Debug installing postgres"
sudo apt-get update
sudo apt-get -y install linux-headers-generic build-essential libssl-dev libreadline-dev zlib1g-dev libcurl4-openssl-dev uuid-dev icu-devtools
mise install postgres@$postgres_version
Expand Down
4 changes: 2 additions & 2 deletions priv/static/macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function install() {
echo 'eval "$(~/.local/bin/mise activate zsh)"' >>$config_file
;;
esac
source $config_file >/dev/null 2>&1
mise activate $current_shell
;;
"Erlang")
brew install autoconf [email protected] wxwidgets libxslt fop
Expand Down Expand Up @@ -140,7 +140,7 @@ function add_env() {
# echo ""
# echo -e "${white}"
# sleep 2
# maybe_install "xcode"
# maybe_install "Xcode Command Line Tools"

# echo -e "${white}"
# sleep 2
Expand Down

0 comments on commit d81e3fd

Please sign in to comment.