This commit is contained in:
sappho 2025-09-25 15:40:04 -04:00 committed by GitHub
parent 893ee7fe7a
commit ed29b25141
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,6 @@ jobs:
shell: bash
run: |
echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV
echo ${{ inputs.os }}
echo ${{ env.SHORT_SHA }}
@ -103,6 +102,7 @@ jobs:
- name: Build (Release)
if: not ${{ inputs.debug }}
shell: bash
run: |
mkdir -p build && cd build
python ../configure.py --enable-optimize
@ -120,7 +120,7 @@ jobs:
# path: build/package
- name: Package release - Windows
if: startsWith(${{ inputs.os }}, 'windows-latest')
if: startsWith("${{ inputs.os }}", 'windows-latest')
# shell: pwsh
working-directory: extension/build/package
run: |
@ -128,7 +128,7 @@ jobs:
Copy-Item -Path ${{ env.ZIP_FILENAME }} -Destination ${{ matrix.os }}_${{ matrix.cc }}_${{ env.ZIP_FILENAME }}
- name: Package release - Linux
if: startsWith(${{ inputs.os }}, 'ubuntu-22.04')
if: startsWith("${{ inputs.os }}", 'ubuntu-22.04')
working-directory: build/package
run: |
zip -r "${{ env.ZIP_FILENAME }}" .