Skip to content

Commit 0fcfcc8

Browse files
committed
Remove Windows artifacts from release workflow
1 parent 188dd93 commit 0fcfcc8

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ jobs:
3535
target: aarch64-macos
3636
dist_os: darwin
3737
dist_arch: arm64
38-
- runner: windows-latest
39-
target: x86_64-windows
40-
dist_os: windows
41-
dist_arch: amd64
4238

4339
runs-on: ${{ matrix.runner }}
4440
steps:
@@ -75,22 +71,6 @@ jobs:
7571
tar -C dist -czf "${archive}" nytgames LICENSE README.md
7672
echo "built ${archive}"
7773
78-
- name: Build archive (Windows)
79-
if: runner.os == 'Windows'
80-
shell: pwsh
81-
run: |
82-
$version = "${{ steps.meta.outputs.version }}"
83-
zig build -Doptimize=ReleaseSafe -Dtarget=${{ matrix.target }} -Dversion="$version"
84-
85-
New-Item -ItemType Directory -Path dist -Force | Out-Null
86-
Copy-Item zig-out/bin/nytgames.exe dist/nytgames.exe
87-
Copy-Item LICENSE dist/LICENSE
88-
Copy-Item README.md dist/README.md
89-
90-
$archive = "nytgames-cli_${version}_${{ matrix.dist_os }}_${{ matrix.dist_arch }}.zip"
91-
Compress-Archive -Path dist/nytgames.exe, dist/LICENSE, dist/README.md -DestinationPath $archive
92-
Write-Host "built $archive"
93-
9474
- uses: actions/upload-artifact@v4
9575
with:
9676
name: tarballs-${{ matrix.dist_os }}-${{ matrix.dist_arch }}

0 commit comments

Comments
 (0)