|
29 | 29 | - name: Test |
30 | 30 | run: dotnet test -v n |
31 | 31 |
|
32 | | - - name: Publish windows (x86) |
33 | | - run: dotnet publish -c Release -r win-x86 -P:PublishSingleFile=true -p:PublishTrimmed=false --self-contained false HaloScriptPreprocessor |
34 | | - - name: Upload artifact windows (x86) |
35 | | - uses: actions/upload-artifact@v4 |
36 | | - with: |
37 | | - name: win-x86 |
38 | | - path: HaloScriptPreprocessor/bin/Release/net8.0/win-x86/publish/ |
39 | 32 | - name: Publish windows (x64) |
40 | 33 | run: dotnet publish -c Release -r win-x64 -P:PublishSingleFile=true -p:PublishTrimmed=false --self-contained false HaloScriptPreprocessor |
41 | 34 | - name: Upload artifact windows (x64) |
|
57 | 50 | with: |
58 | 51 | name: linux-arm64 |
59 | 52 | path: HaloScriptPreprocessor/bin/Release/net8.0/linux-arm64/publish/ |
60 | | - - name: Publish macOS (x64) |
61 | | - run: dotnet publish -c Release -r osx-x64 -P:PublishSingleFile=true -p:PublishTrimmed=false --self-contained false HaloScriptPreprocessor |
62 | | - - name: Upload artifact macOS (x64) |
63 | | - uses: actions/upload-artifact@v4 |
64 | | - with: |
65 | | - name: osx-x64 |
66 | | - path: HaloScriptPreprocessor/bin/Release/net8.0/osx-x64/publish/ |
67 | | - - name: Publish macOS 11.01 Big Sur (arm64) |
68 | | - run: dotnet publish -c Release -r osx.11.0-arm64 -P:PublishSingleFile=true -p:PublishTrimmed=false --self-contained false HaloScriptPreprocessor |
69 | | - - name: Upload artifact macOS 11.01 Big Sur (arm64) |
70 | | - uses: actions/upload-artifact@v4 |
71 | | - with: |
72 | | - name: osx.11.0-arm64 |
73 | | - path: HaloScriptPreprocessor/bin/Release/net8.0/osx.11.0-arm64/publish/ |
74 | 53 |
|
75 | 54 | release: |
76 | 55 | if: | |
|
83 | 62 | - uses: actions/download-artifact@v4 |
84 | 63 | - name: Compress artifacts |
85 | 64 | run: | |
86 | | - zip -r win-x86.zip win-x86 |
87 | 65 | zip -r win-x64.zip win-x64 |
88 | 66 | zip -r linux-x64.zip linux-x64 |
89 | 67 | zip -r linux-arm64.zip linux-arm64 |
90 | | - zip -r osx-x64.zip osx-x64 |
91 | | -# zip -r generic.zip generic |
92 | | -# zip -r osx.11.0-arm64.zip osx.11.0-arm64 |
93 | 68 | - uses: ncipollo/release-action@v1 |
94 | 69 | with: |
95 | 70 | prerelease: true |
|
0 commit comments