|
1 | | -name: Automatic Batch Conversion |
2 | | -run-name: ${{github.actor}} started a batch conversion job. |
3 | | -on: push |
4 | | -jobs: |
5 | | - Batch-Convert: |
6 | | - runs-on: windows-latest |
7 | | - if: "!contains(github.event.head_commit.message, '|NoConvert|')" |
8 | | - steps: |
9 | | - - name: Set up NodeJS |
10 | | - uses: actions/setup-node@v3 |
11 | | - - name: Checkout repository |
12 | | - uses: actions/checkout@v3 |
13 | | - - name: Set up Python |
14 | | - uses: actions/setup-python@v4 |
15 | | - - name: Install MuseScore 3 |
16 | | - run: | |
17 | | - Invoke-WebRequest -URI https://github.com/musescore/MuseScore/releases/download/v3.6.2/MuseScore-3.6.2.548021803-x86_64.msi -OutFile MuseScore3Installer.msi |
18 | | - .\MuseScore3Installer.msi -q |
19 | | - - name: Install MuseScore 4 |
20 | | - run: | |
21 | | - Invoke-WebRequest -URI https://github.com/musescore/MuseScore/releases/download/v4.0.1/MuseScore-4.0.1.230121751-x86_64.msi -OutFile MuseScore4Installer.msi |
22 | | - .\MuseScore4Installer.msi -q |
23 | | - - name: Install MIDIflip (NodeJS) |
24 | | - run: npm install https://github.com/ThePython10110/midiflip |
25 | | - - name: Convert! |
26 | | - run: python batch_convert.py --auto --output Converted |
27 | | - - name: Commit to git |
28 | | - run: | |
29 | | - git config user.name "GitHub Actions Bot" |
30 | | - git config user.email "<>" #No idea whether this will work, but I looked it up... |
31 | | - git add . |
32 | | - git commit -m "Automatic conversion |NoConvert|" |
33 | | - git push |
| 1 | +name: Automatic Batch Conversion |
| 2 | +run-name: ${{github.actor}} started a batch conversion job. |
| 3 | +on: push |
| 4 | +jobs: |
| 5 | + Batch-Convert: |
| 6 | + runs-on: windows-latest |
| 7 | + if: "!contains(github.event.head_commit.message, '|NoConvert|')" |
| 8 | + steps: |
| 9 | + - name: Set up NodeJS |
| 10 | + uses: actions/setup-node@v3 |
| 11 | + - name: Checkout repository |
| 12 | + uses: actions/checkout@v3 |
| 13 | + - name: Set up Python |
| 14 | + uses: actions/setup-python@v4 |
| 15 | + - name: Install MuseScore 3 |
| 16 | + run: | |
| 17 | + Invoke-WebRequest -URI https://github.com/musescore/MuseScore/releases/download/v3.6.2/MuseScore-3.6.2.548021803-x86_64.msi -OutFile MuseScore3Installer.msi |
| 18 | + .\MuseScore3Installer.msi -q |
| 19 | + - name: Install MuseScore 4 |
| 20 | + run: | |
| 21 | + Invoke-WebRequest -URI https://github.com/musescore/MuseScore/releases/download/v4.0.1/MuseScore-4.0.1.230121751-x86_64.msi -OutFile MuseScore4Installer.msi |
| 22 | + .\MuseScore4Installer.msi -q |
| 23 | + - name: Install MIDIflip (NodeJS) |
| 24 | + run: npm install https://github.com/ThePython10110/midiflip |
| 25 | + - name: Convert! |
| 26 | + run: python batch_convert.py --auto --output Converted |
| 27 | + - name: Commit to git |
| 28 | + run: | |
| 29 | + git config user.name "GitHub Actions Bot" |
| 30 | + git config user.email "<>" #No idea whether this will work, but I looked it up... |
| 31 | + git add . |
| 32 | + git commit -m "Automatic conversion |NoConvert|" |
| 33 | + git push |
0 commit comments