Skip to content

Commit

Permalink
Update Padavan.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tick-guo authored Sep 30, 2021
1 parent 820885d commit 7cacc4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Padavan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
# Friendly description to be shown in the UI instead of 'name'
description: 是否需要发布到Release?(不发布也可以到Artifacts下载)
# Default value if no value is explicitly provided
default: 'yes'
default: 'true'
# Input has to be provided for the workflow to run
required: true

Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
#用空格分隔型号,循环编译
TNAME: "${{ github.event.inputs.production }}"
run: |
if [ "$TNAME" == "" ];then
if [ "$TNAME" == "DEBUG" ];then
exit 0
fi
for m in $TNAME;
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
path: /opt/images

- name: 发布到Release
if: ${{ github.event.inputs.release }} == yes
if: ${{ github.event.inputs.release }}
uses: softprops/action-gh-release@v1
with:
name: K2P+K2_${{ env.RELEASE_VERSION }}
Expand Down

0 comments on commit 7cacc4f

Please sign in to comment.