pull/22/head
fengyue 3 years ago
parent 6df2b8910f
commit bf1fd28ad3
  1. 4
      .github/workflows/reader.yml

@ -51,7 +51,7 @@ jobs:
run: | run: |
echo "开始编译打包" echo "开始编译打包"
chmod +x gradlew chmod +x gradlew
if [[ ${{ steps.config.outputs.create_release }} == 'true' ] -o [ ${{ steps.config.outputs.build_release }} == 'true' ]];then if [ ${{ steps.config.outputs.create_release }} == 'true' -o ${{ steps.config.outputs.build_release }} == 'true' ];then
echo "进行release构建" echo "进行release构建"
./gradlew assembleRelease --parallel ./gradlew assembleRelease --parallel
else else
@ -62,7 +62,7 @@ jobs:
id: get_path id: get_path
run: | run: |
path="$GITHUB_WORKSPACE/app/build/outputs/apk/release" path="$GITHUB_WORKSPACE/app/build/outputs/apk/release"
if [[ ${{ steps.config.outputs.create_release }} != 'true' ] -a [ ${{ steps.config.outputs.build_release }} != 'true' ]];then if [ ${{ steps.config.outputs.create_release }} != 'true' -a ${{ steps.config.outputs.build_release }} != 'true' ];then
path="$GITHUB_WORKSPACE/app/build/outputs/apk/debug" path="$GITHUB_WORKSPACE/app/build/outputs/apk/debug"
fi fi
files=$(ls $path) files=$(ls $path)

Loading…
Cancel
Save