Skip to content

Commit

Permalink
DEBUG: changed files
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkilgour committed Sep 21, 2023
1 parent 49e17c7 commit d80f604
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,15 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
env:
COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
CHANGED_FILES: $(git diff --name-only $COMMIT_RANGE)
# run: |
# echo "CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | xargs)" >> $GITHUB_ENV
# run: |
# echo "::set-output name=all::$(git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | xargs)"
- name: Run build (test, validate)
# run: echo "${{ env }}"
run: env
env:
COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
CHANGED_FILES: $(git diff --name-only ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }})
run: echo $CHANGED_FILES
# run: 'npm ci'
# run: 'npm run bootstrap && npm run build:ci'
publish:
Expand Down

0 comments on commit d80f604

Please sign in to comment.