mirror of
https://github.com/asherkin/accelerator.git
synced 2025-12-07 10:28:29 +00:00
hack
This commit is contained in:
parent
893ee7fe7a
commit
ed29b25141
6
.github/workflows/build-extension.yml
vendored
6
.github/workflows/build-extension.yml
vendored
@ -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 }}" .
|
||||
|
||||
Loading…
Reference in New Issue
Block a user