File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -202,11 +202,13 @@ jobs:
202202 export BPM_PUBLISH_KEY=$hash
203203 export PATH=$PATH:../bpm/src/:${GITHUB_WORKSPACE}/../cc65/bin
204204 if [ "$BRANCH_NAME" = "master" -o "$BRANCH_NAME" = "main" ]; then bpm --force-update -V;--force-update publish --official; else bpm publish --alpha; fi
205- fi
205+ echo "BPM_FOUND=True" >> $GITHUB_ENV
206+ fi
206207
207208 upload :
208209 needs : build
209210 runs-on : ubuntu-24.04
211+ if : env.BPM_FOUND != True
210212 defaults :
211213 run :
212214 shell : bash
@@ -243,9 +245,9 @@ jobs:
243245 echo "Use tar for archive"
244246 tar -zcvf $GITHUB_WORKSPACE/$ARCHIVE_NAME *
245247
246-
247248 - name : Upload to oric
248249 run : |
250+ if BPM_FOUND=True"
249251 if [ "$BRANCH_NAME" = "master" -o "$BRANCH_NAME" = "main" ]; then VERSION="$version"; else VERSION=alpha; fi
250252 curl -X POST --data-binary "@${ARCHIVE_NAME}" "https://cdn.oric.org/publish.php?hash=$hash&path=/home/oricoujr/www/ftp/orix/dists/$VERSION/tgz/6502/${ARCHIVE_NAME}"
251253
You can’t perform that action at this time.
0 commit comments