Skip to content

Added Bubble_trouble.bas for the SC-3000 #5

Added Bubble_trouble.bas for the SC-3000

Added Bubble_trouble.bas for the SC-3000 #5

Workflow file for this run

name: Convert Basic
on:
push:
branches:
- master
jobs:
convert:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- run: pip install -r SC3000/script/requirements.txt
- run: |
CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.event.after }} | grep '^SC3000/.*\.\(bas\|basic\)$' || true)
if [ -n "$CHANGED_FILES" ]; then
echo "Changed Files: "
echo "$CHANGED_FILES"
for FILE in $CHANGED_FILES; do
python SC3000/script/basicToWav.py "$FILE"
done
git config user.name "bot"
git config user.email "github-actions@users.noreply.github.com"
git add .
git commit -m "Add converted file"
git push origin master
else
echo "Nothing to do"
fi