|
14 | 14 | strategy:
|
15 | 15 | matrix:
|
16 | 16 | include:
|
17 |
| - - { os: "windows-2022", python-version: "3.9", python-major: "39"} |
18 |
| - - { os: "windows-2022", python-version: "3.11", python-major: "311"} |
| 17 | + - { name: "win64", os: "windows-2022", python-version: "3.9", python-major: "39"} |
| 18 | + - { name: "win64", os: "windows-2022", python-version: "3.11", python-major: "311"} |
19 | 19 | steps:
|
20 | 20 | - uses: actions/checkout@v3
|
21 | 21 | with:
|
@@ -47,18 +47,18 @@ jobs:
|
47 | 47 |
|
48 | 48 | - name: Make distribution
|
49 | 49 | run: |
|
50 |
| - mkdir TD-Faust_dist |
51 |
| - move ${{ github.workspace }}/Plugins/TD-Faust.dll TD-Faust_dist |
52 |
| - move ${{ github.workspace }}/Plugins/sndfile.dll TD-Faust_dist |
53 |
| - cp -v -r ${{ github.workspace }}/Plugins/faustlibraries TD-Faust_dist |
54 |
| - Remove-Item -Recurse -Force "TD-Faust_dist/faustlibraries/.git" |
55 |
| - 7z a TD-Faust-${{ matrix.os }}.zip ./TD-Faust_dist/* -r |
| 50 | + mkdir TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }} |
| 51 | + move ${{ github.workspace }}/Plugins/TD-Faust.dll TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }} |
| 52 | + move ${{ github.workspace }}/Plugins/sndfile.dll TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }} |
| 53 | + cp -v -r ${{ github.workspace }}/Plugins/faustlibraries TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }} |
| 54 | + Remove-Item -Recurse -Force "TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }}/faustlibraries/.git" |
| 55 | + 7z a TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }}.zip ./TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }}/* -r |
56 | 56 |
|
57 | 57 | - name: Upload artifact
|
58 | 58 | uses: actions/upload-artifact@v3
|
59 | 59 | with:
|
60 |
| - name: TD-Faust-${{ matrix.os }}-Python${{ matrix.python-major }} |
61 |
| - path: TD-Faust-${{ matrix.os }}.zip |
| 60 | + name: TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }} |
| 61 | + path: TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }}.zip |
62 | 62 |
|
63 | 63 | # build-macos:
|
64 | 64 | # strategy:
|
@@ -94,13 +94,13 @@ jobs:
|
94 | 94 | # - name: Make distribution
|
95 | 95 | # run: |
|
96 | 96 | # rm -rf Plugins/faustlibraries/.git
|
97 |
| - # zip -r TD-Faust-${{ matrix.name }}.zip Plugins |
| 97 | + # zip -r TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }}.zip Plugins |
98 | 98 |
|
99 | 99 | # - name: Upload artifact
|
100 | 100 | # uses: actions/upload-artifact@v3
|
101 | 101 | # with:
|
102 |
| - # name: my-artifact-${{ matrix.name }} |
103 |
| - # path: TD-Faust-${{ matrix.name }}.zip |
| 102 | + # name: TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }} |
| 103 | + # path: TD-Faust-${{ matrix.name }}-Python${{ matrix.python-major }}.zip |
104 | 104 |
|
105 | 105 | create-release:
|
106 | 106 | if: startsWith(github.ref, 'refs/tags/v')
|
|
0 commit comments