Skip to content

Commit

Permalink
Better MIDI flipping part 1 |NoConvert|
Browse files Browse the repository at this point in the history
Edit GitHub Action to use my version of MidiFlip
  • Loading branch information
ThePython10110 authored Oct 22, 2023
1 parent c5a465e commit 491ed8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/batch-convert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: push
jobs:
Batch-Convert:
runs-on: windows-latest
if: "!contains(github.event.head_commit.message, '|New automatic batch convert|')"
if: "!contains(github.event.head_commit.message, '|NoConvert|')"
steps:
- name: Set up NodeJS
uses: actions/setup-node@v3
Expand All @@ -21,13 +21,13 @@ jobs:
Invoke-WebRequest -URI https://github.com/musescore/MuseScore/releases/download/v4.0.1/MuseScore-4.0.1.230121751-x86_64.msi -OutFile MuseScore4Installer.msi
.\MuseScore4Installer.msi -q
- name: Install MIDIflip (NodeJS)
run: npm install midiflip
run: npm install https://github.com/ThePython10110/midiflip
- name: Convert!
run: python batch_convert.py --auto --output Converted
- name: Commit to git
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>" #No idea whether this will work, but I looked it up...
git add .
git commit -m "|New automatic batch convert|"
git commit -m "Automatic conversion |NoConvert|"
git push

0 comments on commit 491ed8c

Please sign in to comment.