File tree Expand file tree Collapse file tree 6 files changed +14
-10
lines changed Expand file tree Collapse file tree 6 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -91,11 +91,11 @@ jobs:
91
91
- name : before_script
92
92
run : bash patches/curl_stfp_patcher
93
93
shell : bash
94
- if : success() && github.event_name == 'release'
94
+ if : success() && ( github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]')))
95
95
- name : deploy
96
96
run : bash utils/SF_deployer
97
97
shell : bash
98
- if : success() && github.event_name == 'release'
98
+ if : success() && ( github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]')))
99
99
100
100
builder-cross :
101
101
name : Cross GCC 32-bit Builder Pi[0-1]
Original file line number Diff line number Diff line change @@ -91,11 +91,11 @@ jobs:
91
91
- name : before_script
92
92
run : bash patches/curl_stfp_patcher
93
93
shell : bash
94
- if : success() && github.event_name == 'release'
94
+ if : success() && ( github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]')))
95
95
- name : deploy
96
96
run : bash utils/SF_deployer
97
97
shell : bash
98
- if : success() && github.event_name == 'release'
98
+ if : success() && ( github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]')))
99
99
100
100
builder-cross :
101
101
name : Cross GCC 32-bit Builder Pi[2-3]
Original file line number Diff line number Diff line change @@ -91,11 +91,11 @@ jobs:
91
91
- name : before_script
92
92
run : bash patches/curl_stfp_patcher
93
93
shell : bash
94
- if : success() && github.event_name == 'release'
94
+ if : success() && ( github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]')))
95
95
- name : deploy
96
96
run : bash utils/SF_deployer
97
97
shell : bash
98
- if : success() && github.event_name == 'release'
98
+ if : success() && ( github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]')))
99
99
100
100
builder-cross :
101
101
name : Cross GCC 32-bit Builder Pi[3+]
Original file line number Diff line number Diff line change @@ -91,11 +91,11 @@ jobs:
91
91
- name : before_script
92
92
run : bash patches/curl_stfp_patcher
93
93
shell : bash
94
- if : success() && github.event_name == 'release'
94
+ if : success() && ( github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]')))
95
95
- name : deploy
96
96
run : bash utils/SF_deployer
97
97
shell : bash
98
- if : success() && github.event_name == 'release'
98
+ if : success() && ( github.event_name == 'release' || (github.event_name == 'push' && contains(github.event.head_commit.message, '[DEBUG]')))
99
99
100
100
builder-cross :
101
101
name : Cross GCC 64-bit Builder Pi[64]
Original file line number Diff line number Diff line change @@ -191,7 +191,9 @@ mkdir -p "$INSTALLDIR"
191
191
cd " $DOWNLOADDIR " || exit
192
192
193
193
if [ ! -f " cross-gcc-$GCCBASE_VERSION -pi_$RPI_TYPE .tar.gz" ]; then
194
- wget -q --no-check-certificate " ${URL} cross-gcc-$GCCBASE_VERSION -pi_$RPI_TYPE .tar.gz"
194
+ FILEURL = " ${URL} cross-gcc-$GCCBASE_VERSION -pi_$RPI_TYPE .tar.gz"
195
+ echo " Downloading File: $FILEURL "
196
+ wget -q --no-check-certificate " $FILEURL "
195
197
tar xf cross-gcc-$GCCBASE_VERSION -pi_$RPI_TYPE .tar.gz
196
198
mv -v cross-pi-gcc-$GCCBASE_VERSION -$FOLDER_VERSION /* $INSTALLDIR
197
199
rm -rf cross-pi-gcc-$GCCBASE_VERSION -$FOLDER_VERSION
Original file line number Diff line number Diff line change @@ -146,7 +146,9 @@ cd "$DOWNLOADDIR" || exit
146
146
147
147
# download binaries if not found
148
148
if [ ! -f " cross-gcc-$GCCBASE_VERSION -pi_$FOLDER_VERSION .tar.gz" ]; then
149
- wget -q --no-check-certificate " ${URL} cross-gcc-$GCCBASE_VERSION -pi_$FOLDER_VERSION .tar.gz"
149
+ FILEURL = " ${URL} cross-gcc-$GCCBASE_VERSION -pi_$FOLDER_VERSION .tar.gz"
150
+ echo " Downloading File: $FILEURL "
151
+ wget -q --no-check-certificate " $FILEURL "
150
152
tar xf cross-gcc-$GCCBASE_VERSION -pi_$FOLDER_VERSION .tar.gz
151
153
mv -v cross-pi-gcc-$GCCBASE_VERSION -$FOLDER_VERSION /* $INSTALLDIR
152
154
rm -rf cross-pi-gcc-$GCCBASE_VERSION -$FOLDER_VERSION
You can’t perform that action at this time.
0 commit comments