Skip to content

Commit

Permalink
💚 ci: -
Browse files Browse the repository at this point in the history
  • Loading branch information
Mastersam07 committed Jul 3, 2023
1 parent 0ad4845 commit f8e6269
Showing 1 changed file with 18 additions and 23 deletions.
41 changes: 18 additions & 23 deletions codemagic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,25 @@ workflows:
source: true
cancel_previous_builds: true
scripts:
- name: Echo envs
script: |
echo $FLUTTER_ROOT
echo $HOME
echo $HOME/programs/flutter
echo $PATH
ls -a $HOME
ignore_failure: true
# - name: Save Shorebird path to ENV
# script: |
# install_path=$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.shorebird" || printf %s "${XDG_CONFIG_HOME}/shorebird")
# echo "shorebird=$install_path/bin" >> $CM_ENV
# - name: 🐦 Install Shorebird
# script: |
# curl --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/shorebirdtech/install/main/install.sh -sSf | bash -s -- --force
# install_path=$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.shorebird" || printf %s "${XDG_CONFIG_HOME}/shorebird")
# echo "$install_path/bin" >> $PATH
# echo "added $install_path/bin to PATH"
# ignore_failure: true
# - name: Shorebird doctor
# - name: Echo envs
# script: |
# shorebird doctor
# echo $FLUTTER_ROOT
# echo $HOME
# echo $HOME/programs/flutter
# echo $PATH
# ls -a $HOME
# ignore_failure: true
- name: 🐦 Install Shorebird
script: |
curl --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/shorebirdtech/install/main/install.sh -sSf | bash -s -- --force
install_path=$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.shorebird" || printf %s "${XDG_CONFIG_HOME}/shorebird")
echo "export PATH="$(install_dir)/bin:$PATH""
echo "added $install_path/bin to PATH"
ignore_failure: true
- name: Shorebird doctor
script: |
shorebird doctor
ignore_failure: true
- name: Set up local.properties
working_directory: example
script: |
Expand Down Expand Up @@ -75,5 +71,4 @@ workflows:
success: true
failure: false
recipients:
- [email protected]

- [email protected]

0 comments on commit f8e6269

Please sign in to comment.