Skip to content

Commit

Permalink
Revert "Update document on release (#522)"
Browse files Browse the repository at this point in the history
This reverts commit 8123ba2.
  • Loading branch information
Yang-33 authored Oct 13, 2023
1 parent 7e70990 commit c488223
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 41 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/diff-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ jobs:
- run: |
export PATH=$PATH:~/bin/openapitools/
bash tools/gen-oas-client.sh
# Update document
- run: |
wget https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.3.1/phpDocumentor.phar
php phpDocumentor.phar run -d src -t docs
- run: |
diff=$(git --no-pager diff --name-only HEAD)
echo "DIFF_IS_EMPTY=$([[ -z "$diff" ]] && echo 'true' || echo 'false')" >> $GITHUB_ENV
Expand All @@ -59,8 +63,11 @@ jobs:
git add line-openapi
git add src/**
git commit -m "Codes are generated by openapi"
git commit --allow-empty -m "Codes are generated by openapi"
git add docs/**
git commit --allow-empty -m "Update document"
git push origin update-diff-${{ env.CURRENT_DATETIME }}
gh pr create -B ${{ github.ref_name }} -t "Codes are generated by openapi generator" -b "" --label "line-openapi-update"
env:
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit c488223

Please sign in to comment.