forked from vimeo/babel-plugin-transform-i18n
-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (40 loc) · 1.38 KB
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: Test
on:
push
# concurrency:
# group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
# cancel-in-progress: true
env:
TEST_VAR: ${{ 'testing' }}
IS_MAIN_MERGE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
IS_NAMED_BRANCH: ${{ github.ref == 'refs/heads/test_changed_files_action' }}
jobs:
one:
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- name: Step 1
id: step-one
run: exit -1
- name: Print hello
if: steps.step-one.result == 'success'
run: echo "hello"
# - name: Step 1
# id: changed-files
# run: exit -1
# - name: No files in matcher have been modified
# if: steps.changed-files.outputs.any_modified != 'true'
# run: echo "any_modified != 'true'"
# - name: Print all modified files
# if: steps.changed-files.outputs.any_modified == 'true'
# run: |
# echo "One or more test file(s) has changed."
# echo "List all the files that have changed: ${{ steps.changed-files.outputs.all_modified_files }}"
two:
# if: ${{ always() && !failure() && !cancelled() }}
if: ${{ always() && !failure() }}
needs: [one]
runs-on: ubuntu-latest
steps:
- name: Runs
run: echo "runs"