-
Notifications
You must be signed in to change notification settings - Fork 15
40 lines (35 loc) · 1.23 KB
/
bump-version.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
name: Changed-files
on:
push:
branches:
- '**'
jobs:
changed_files:
runs-on: ubuntu-latest
name: Test changed-files
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get javascore files that have changed
id: changed-files-javascore
uses: tj-actions/changed-files@v39
working-directory: contracts/javascore
with:
files_yaml: |
ibc:
- 'ibc/**'
lightclients:
- lightclients/**
xcall-connection:
- xcall-connection/**
- name: Run step if test file(s) change
if: steps.changed-files-javascore.outputs.ibc_any_changed == 'true'
run: |
echo "One or more test file(s) has changed."
echo "List all the files that have changed: ${{ steps.changed-files-javascore.outputs.ibc_all_changed_files }}"
- name: Run step if doc file(s) change
if: steps.changed-files-javascore.outputs.lightclients_any_changed == 'true'
run: |
echo "One or more doc file(s) has changed."
echo "List all the files that have changed: ${{ steps.changed-files-javascore.outputs.lightclients_all_changed_files }}"