Skip to content

Commit 6d9e18c

Browse files
committed
test
1 parent 89748da commit 6d9e18c

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

.github/workflows/create-release.yaml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ jobs:
7979
matrix:
8080
platform: [
8181
{ name: Windows-Portable, os: windows-latest, arch: x64, type: portable },
82-
{ name: Windows-Installer, os: windows-latest, arch: x64, type: installer },
82+
#{ name: Windows-Installer, os: windows-latest, arch: x64, type: installer },
8383
{ name: Ubuntu, os: ubuntu-latest, arch: x64 },
8484
{ name: macOS, os: macos-14, arch: arm64 },
85-
{ name: Browser, os: ubuntu-latest, arch: wasm, type: browser },
85+
#{ name: Browser, os: ubuntu-latest, arch: wasm, type: browser },
8686
]
8787
dotnet-version: [ '8.0.x' ]
8888

@@ -107,15 +107,12 @@ jobs:
107107
if: ${{ matrix.platform.type == 'portable' }}
108108
run: echo "The presence of this file enables portable mode" > CrossPlatformUI.Desktop/bin/publish/portable_mode.txt
109109

110-
- name: Package regular build (Windows)
111-
if: ${{ matrix.platform.os == 'windows-latest' && (matrix.platform.type == 'portable' || matrix.platform.type == null) }}
112-
run: |
113-
7z a -tzip -mx=9 Z2Randomizer-${{ inputs.version }}-${{ matrix.platform.name }}-${{ matrix.platform.arch }}.zip CrossPlatformUI.Desktop\bin\publish\ /xr!*.pdb
114-
115-
- name: Package regular build (Non-Windows)
116-
if: ${{ matrix.platform.os != 'windows-latest' && (matrix.platform.type == 'portable' || matrix.platform.type == null) }}
110+
- name: Package regular build
111+
if: ${{ matrix.platform.type == 'portable' || matrix.platform.type == null }}
112+
working-directory: CrossPlatformUI.Desktop/bin/publish
117113
run: |
118-
7z a -tzip -mx=9 Z2Randomizer-${{ inputs.version }}-${{ matrix.platform.name }}-${{ matrix.platform.arch }}.zip CrossPlatformUI.Desktop/bin/publish/ -xr!*.pdb
114+
rm *.pdb
115+
7z a -tzip -mx=9 Z2Randomizer-${{ inputs.version }}-${{ matrix.platform.name }}-${{ matrix.platform.arch }}.zip .
119116
120117
- name: Build Installer
121118
if: ${{ matrix.platform.type == 'installer' }}
@@ -138,7 +135,7 @@ jobs:
138135
uses: softprops/action-gh-release@v2
139136
with:
140137
tag_name: ${{ inputs.version }}
141-
files: Z2Randomizer-${{ inputs.version }}-${{ matrix.platform.name }}-${{ matrix.platform.arch }}.zip
138+
files: CrossPlatformUI.Desktop/bin/publish/Z2Randomizer-${{ inputs.version }}-${{ matrix.platform.name }}-${{ matrix.platform.arch }}.zip
142139
env:
143140
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
144141

0 commit comments

Comments
 (0)