Skip to content

Commit

Permalink
mod rvba script+wflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shrihankp committed Sep 3, 2022
1 parent 8bbe675 commit 0ca552e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rvba.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: bootstrap-${{ matrix.arch }}
path: ~/bootstrap-${{ matrix.arch }}.zip
path: ~/
- name: Checkout repo
uses: actions/checkout@v3
- name: Run script
Expand Down
5 changes: 3 additions & 2 deletions rvba/build-rvba-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
set -euo pipefail

log(){
[[ "$2" != n ]] && (echo "::group::$1"; return 0; )
echo -e "\e[34m[**] $1\e[0m" >&2
[[ "$2" != n ]] && ( echo "::group::$1"; return 0; )
echo -e "\e[34m[***] $1\e[0m" >&2
}

end_group(){
echo "::endgroup::"
}
Expand Down
4 changes: 2 additions & 2 deletions rvba/build-rvba-bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
set -euo pipefail

log(){
echo -e "\e[34m[**] $1\e[0m" >&2
[[ "$2" != n ]] && echo "::group::$1"
[[ "$2" != n ]] && ( echo "::group::$1"; return 0; )
echo -e "\e[34m[***] $1\e[0m" >&2
}
end_group(){
echo "::endgroup::"
Expand Down

0 comments on commit 0ca552e

Please sign in to comment.