Testing #21
This file contains 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: Testing | |
env: | |
TZ: Asia/Shanghai | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow | |
concurrency: | |
group: ${{ github.workflow }}@${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: # If you define neither 'tags' nor 'branches', the workflow will run for either branches or tags. | |
paths: | |
- 'action.yml' | |
- 'src/**' | |
- '.github/workflows/test.yml' | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/marketplace/actions/checkout | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Dump flattened GitHub actions contexts | |
uses: ./ | |
- name: Dump with sep | |
id: more | |
uses: ./ | |
with: | |
sep: ' = ' | |
... |