Skip to content

Commit a898f3c

Browse files
committed
Update all.yml
1 parent e1a66fb commit a898f3c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/all.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
strategy:
1515
matrix:
1616
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"}
1919
steps:
2020
- uses: actions/checkout@v3
2121
with:
@@ -47,18 +47,18 @@ jobs:
4747

4848
- name: Make distribution
4949
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
5656
5757
- name: Upload artifact
5858
uses: actions/upload-artifact@v3
5959
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
6262

6363
# build-macos:
6464
# strategy:
@@ -94,13 +94,13 @@ jobs:
9494
# - name: Make distribution
9595
# run: |
9696
# 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
9898

9999
# - name: Upload artifact
100100
# uses: actions/upload-artifact@v3
101101
# 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
104104

105105
create-release:
106106
if: startsWith(github.ref, 'refs/tags/v')

0 commit comments

Comments
 (0)