|
23 | 23 | target: x86_64-unknown-linux-gnu
|
24 | 24 | # - os: ubuntu-latest
|
25 | 25 | # target: aarch64-unknown-linux-gnu
|
26 |
| - - os: windows-latest |
27 |
| - target: x86_64-pc-windows-msvc |
28 |
| - - os: windows-latest |
29 |
| - target: aarch64-pc-windows-msvc |
30 | 26 |
|
31 | 27 | steps:
|
32 | 28 | - uses: actions/checkout@v4
|
|
67 | 63 | # if: matrix.os == 'ubuntu-latest' && matrix.target == 'aarch64-unknown-linux-gnu'
|
68 | 64 | # run: zip encore_linux_aarch64.zip target/${{ matrix.target }}/release/encore -r
|
69 | 65 |
|
70 |
| - - name: Zip Artifact (Windows x86_64) |
71 |
| - if: matrix.os == 'windows-latest' && matrix.target == 'x86_64-pc-windows-msvc' |
72 |
| - run: Compress-Archive -Path target/${{ matrix.target }}/release/encore.exe -DestinationPath encore_windows_x86_64.zip # odd one out |
73 |
| - |
74 |
| - - name: Zip Artifact (Windows aarch64) |
75 |
| - if: matrix.os == 'windows-latest' && matrix.target == 'aarch64-pc-windows-msvc' |
76 |
| - run: Compress-Archive -Path target/${{ matrix.target }}/release/encore.exe -DestinationPath encore_windows_aarch64.zip |
77 |
| - |
78 | 66 | - name: Artifact (macOS x86_64)
|
79 | 67 | if: matrix.os == 'macos-latest' && matrix.target == 'x86_64-apple-darwin'
|
80 | 68 | uses: actions/upload-artifact@v4
|
@@ -103,16 +91,3 @@ jobs:
|
103 | 91 | # name: encore (Linux aarch64)
|
104 | 92 | # path: encore_linux_aarch64.zip
|
105 | 93 |
|
106 |
| - - name: Artifact (Windows x86_64) |
107 |
| - if: matrix.os == 'windows-latest' && matrix.target == 'x86_64-pc-windows-msvc' |
108 |
| - uses: actions/upload-artifact@v4 |
109 |
| - with: |
110 |
| - name: encore (Windows x86_64) |
111 |
| - path: encore_windows_x86_64.zip |
112 |
| - |
113 |
| - - name: Artifact (Windows aarch64) |
114 |
| - if: matrix.os == 'windows-latest' && matrix.target == 'aarch64-pc-windows-msvc' |
115 |
| - uses: actions/upload-artifact@v4 |
116 |
| - with: |
117 |
| - name: encore (Windows aarch64) |
118 |
| - path: encore_windows_aarch64.zip |
0 commit comments