Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
kuroweb committed Jul 30, 2024
1 parent 4b28748 commit a7c5062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: git fetch origin ${{ github.base_ref }} --depth=1
- run: git fetch origin master --depth=1
- id: diff
run: echo "::set-output name=changed::$(git diff --name-only origin/${{ github.base_ref }} HEAD --relative ./volumes/backend/ | wc -l)"
run: echo "::set-output name=changed::$(git diff --name-only origin/master HEAD --relative ./volumes/backend/ | wc -l)"
- if: ${{ steps.diff.outputs.changed != '0' }}
run: echo 'hoge'

0 comments on commit a7c5062

Please sign in to comment.