This commit is contained in:
msojocs 2022-04-03 22:11:24 +08:00
parent 150a944c02
commit 3099858f56
3 changed files with 49 additions and 48 deletions

View File

@ -155,55 +155,55 @@ jobs:
name: wechat-devtools-${{ matrix.ARCH }}.build
path: tmp/build
build-deb:
name: Build Deb Package
needs:
- build-src
runs-on: ubuntu-18.04
# build-deb:
# name: Build Deb Package
# needs:
# - build-src
# runs-on: ubuntu-18.04
strategy:
matrix:
ARCH: ['x86_64']
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
# strategy:
# matrix:
# ARCH: ['x86_64']
# # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Download artifacts
uses: actions/download-artifact@v2
# steps:
# - uses: actions/checkout@v2
# - name: Download artifacts
# uses: actions/download-artifact@v2
- name: Generate TAG
id: Tag
run: |
tag='continuous'
name='Continuous Build'
if [ 'true' == ${{ startsWith(github.ref, 'refs/tags/') }} ];then
tag='${{ github.ref_name }}'
name='${{ github.ref_name }}'
fi
echo "tag result: $tag - $name"
echo "::set-output name=tag::$tag"
echo "::set-output name=name::$name"
# - name: Generate TAG
# id: Tag
# run: |
# tag='continuous'
# name='Continuous Build'
# if [ 'true' == ${{ startsWith(github.ref, 'refs/tags/') }} ];then
# tag='${{ github.ref_name }}'
# name='${{ github.ref_name }}'
# fi
# echo "tag result: $tag - $name"
# echo "::set-output name=tag::$tag"
# echo "::set-output name=name::$name"
- name: Build Deb Package
run: |
export BUILD_VERSION=${{ steps.tag.outputs.tag }}
ls -l
mkdir -p tmp/build
tools/build-prepare.sh
tools/build-deb.sh ${{ steps.tag.outputs.tag }}
export NO_WINE=true
tools/build-prepare.sh
tools/build-deb.sh ${{ steps.tag.outputs.tag }}
# - name: Build Deb Package
# run: |
# export BUILD_VERSION=${{ steps.tag.outputs.tag }}
# ls -l
# mkdir -p tmp/build
# tools/build-prepare.sh
# tools/build-deb.sh ${{ steps.tag.outputs.tag }}
# export NO_WINE=true
# tools/build-prepare.sh
# tools/build-deb.sh ${{ steps.tag.outputs.tag }}
- name: Upload artifact
uses: actions/upload-artifact@v2.3.1
with:
# Artifact name
name: wechat-devtools-${{ matrix.ARCH }}.build
path: tmp/build
# - name: Upload artifact
# uses: actions/upload-artifact@v2.3.1
# with:
# # Artifact name
# name: wechat-devtools-${{ matrix.ARCH }}.build
# path: tmp/build
build-deepin:
name: Build Deepin Package
build-deb:
name: Build DEB Package
needs:
- build-src
runs-on: ubuntu-18.04
@ -328,7 +328,7 @@ jobs:
needs:
- build-tar
- build-deb
- build-deepin
# - build-deepin
- build-arch
runs-on: ubuntu-latest
steps:

View File

@ -142,11 +142,12 @@ git clone https://github.com/msojocs/wechat-devtools-linux.git
微信开发者工具版权归腾讯公司所有本项目旨在交流学习之用。如有不当之处请联系本人邮箱jiyecafe@gmail.com
# 赞赏
如果这个仓库让你感到舒适可以点个Star或者请喝杯咖啡请尽量带上github昵称
如果这个仓库让你感到舒适可以点个Star或者请这个菜鸡大学生喝杯咖啡请尽量带上github昵称
![赞赏码](https://user-images.githubusercontent.com/20937135/154661198-93854dc1-c8ba-4c97-a7ab-9f8de26c0226.png)
# 感谢赞赏支持
1. *喆
2. @shaoxp
3. .
3. .
4. IvesSSa

View File

@ -95,5 +95,5 @@ if [[ $NO_WINE != 'true' ]];then
echo "Depends: wine, wine-binfmt" >> "$build_dir/debian/control"
fi
echo 'y' | debuild --no-tgz-check -i -I -b -us -uc
mv $tmp_dir/*.deb $tmp_dir/build
debuild --no-tgz-check -i -I -b -us -uc
# mv $tmp_dir/*.deb $tmp_dir/build