chore(deps): update actions/download-artifact action to v6 (#1764) #3703
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| env: | |
| DO_NOT_TRACK: 1 | |
| on: | |
| pull_request: | |
| push: | |
| tags: | |
| - v* | |
| branches: | |
| - main | |
| concurrency: | |
| # main merges use a unique run_id so they don't cancel each other | |
| # other branches or PRs share a group to auto-cancel old runs | |
| group: ${{ github.ref == 'refs/heads/main' && | |
| format('{0}-{1}', github.workflow, github.run_id) || | |
| format('{0}-{1}', github.workflow, github.event.pull_request.number || github.ref) }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Test | |
| uses: ./.github/workflows/test.yml | |
| secrets: inherit | |
| release: | |
| name: Release | |
| if: ${{ github.ref_type == 'tag' || github.ref_name == 'main' }} | |
| uses: ./.github/workflows/release.yml | |
| needs: | |
| - test | |
| secrets: inherit |