diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d4b9bec76..07434f4ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,11 +5,6 @@ on: pull_request: branches: - main - -# from travis -# env: -# CHANGED_FILES: $(git diff --name-only $TRAVIS_COMMIT_RANGE) - jobs: test: runs-on: '${{ matrix.os }}' @@ -19,8 +14,6 @@ jobs: - ubuntu-latest node-version: - 14.x - # outputs: - # files_changed: ${{ steps.changed_files.outputs.files_changed }} steps: - name: 'Set up Node.js ${{ matrix.node-version }}' uses: actions/setup-node@v1 @@ -38,9 +31,6 @@ 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_LIST: $(git diff --name-only ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}) - name: Get changed files id: changed_files @@ -48,7 +38,7 @@ jobs: with: since_last_remote_commit: true - - name: List all changed files + - name: Save changed files to environment variable run: | csv="" for result in ${{ steps.changed_files.outputs.all_changed_files }}; do @@ -57,18 +47,8 @@ jobs: done echo "CHANGED_FILES=$csv" >> $GITHUB_ENV - # - name: push to env - # run: | - # echo "CHANGED_FILES=${{ steps.changed_files.outputs.all_changed_files }}" >> $GITHUB_ENV - - # - name: Get changeset - # run: | - # echo 'CHANGED_FILES<> $GITHUB_ENV - # $(git diff --name-only ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}) >> $GITHUB_ENV - # echo 'EOF' >> $GITHUB_ENV - - name: Test1 - run: echo $CHANGED_FILES + run: echo env # - name: Test2 # run: echo env.CHANGED_FILES diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0d05fcc58..f4a0bd6a0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,5 @@ # Contributing to frontend-toolkits -edit9 + When contributing to an existing package, or building a new one, work should: - Always be done in a branch diff --git a/README.md b/README.md index b38713ca5..d3e4ee756 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -[!WARNING] This is a warning about newer version of Elements 9 - # Frontend Toolkits [![Build Status][badge-build]][info-build]