Skip to content

Commit

Permalink
Update build.yml (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
naa0yama authored Aug 7, 2024
1 parent c6491af commit 3fbb592
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
mkdir -p dist
gzip "devtool-wsl2-${{ env.COMMIT_SHORT_SHA }}.tar"
split --verbose --numeric-suffixes --bytes=2000M --suffix-length=1 \
split --verbose --bytes=2000M --suffix-length=1 --numeric-suffixes=1 \
devtool-wsl2-${{ env.COMMIT_SHORT_SHA }}.tar.gz \
dist/devtool-wsl2-${{ env.COMMIT_SHORT_SHA }}.tar.gz.part
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
if [[ "${{ github.event_name }}" == "schedule" ]]; then
echo "DRAFT=false" >> $GITHUB_ENV
echo "MAKE_LATEST=true" >> $GITHUB_ENV
elif [[ "${{ github.event_name }}" == "pull_request" && "${{ env.IS_BOT }}" == "false" ]]; then
elif [[ "${{ github.event_name }}" == "pull_request" && "${{ github.event.action }}" != "closed" && "${{ env.IS_BOT }}" == "false" ]]; then
echo "DRAFT=true" >> $GITHUB_ENV
echo "MAKE_LATEST=false" >> $GITHUB_ENV
elif [[ "${{ github.event_name }}" == "pull_request" && "${{ github.event.action }}" == "closed" && "${{ github.event.pull_request.merged }}" == "true" ]]; then
Expand Down

0 comments on commit 3fbb592

Please sign in to comment.