Skip to content

Commit 35fa03f

Browse files
committed
Update cmake_ninja_crossbuild.yml
1 parent ced7058 commit 35fa03f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/cmake_ninja_crossbuild.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
AR: "${{ matrix.CHOST }}-ar"
4444
CXX: "${{ matrix.CHOST }}-g++"
4545
opt_dir_name: "opt/swizzin_apps"
46+
prerelease: false
4647

4748
steps:
4849
- uses: actions/checkout@v2.3.4
@@ -62,7 +63,7 @@ jobs:
6263
- name: Host - Create Docker template env file
6364
run: |
6465
echo "PATH=/${{ env.opt_dir_name }}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" > env.custom
65-
echo "LD_LIBRARY_PATH=/${{ env.opt_dir_name }}/lib:/usr/lib:/usr/local/lib" >> env.custom
66+
echo "LD_LIBRARY_PATH=/${{ env.opt_dir_name }}/lib:/usr/lib/${{ env.CHOST }}:/usr/lib:/usr/local/lib" >> env.custom
6667
6768
- name: Host - Create docker multiarch ${{ matrix.arch }} container
6869
run: docker run --name multiarch -it -d --env-file env.custom -w /root -e 'LANG=en_US.UTF-8' -e 'DEBIAN_FRONTEND=noninteractive' -e CHOST=${{ env.CHOST }} -e CC=${{ env.CC }} -e AR=${{ env.AR }} -e CXX=${{ env.CXX }} -v ${{ github.workspace }}:/root ${{ matrix.os_id }}:${{ matrix.os_version_id }}
@@ -192,7 +193,7 @@ jobs:
192193
- name: Host - "Create release - tag - assets"
193194
uses: ncipollo/release-action@v1
194195
with:
195-
prerelease: false
196+
prerelease: ${{ env.prerelease }}
196197
artifacts: "${{ matrix.os_id }}-${{ matrix.os_version_id }}-${{ matrix.name }}-${{ matrix.arch }}.deb"
197198
replacesArtifacts: true
198199
tag: "${{ env.cmake_version }}_${{ env.ninja_version }}"

0 commit comments

Comments
 (0)