Skip to content

Commit

Permalink
adds action diff
Browse files Browse the repository at this point in the history
  • Loading branch information
damirka committed Mar 22, 2024
1 parent 34a61d3 commit cc1d835
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 65 deletions.
Empty file added .github/actions/diff.
Empty file.
25 changes: 25 additions & 0 deletions .github/actions/diffs/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Detect Changes
description: Defines variables indicating the parts of the code that changed
outputs:
isDoc:
description: True when changes happened to some documentation
value: "${{ steps.diff.outputs.isDoc }}"
isMove:
description: True when changes happened to the Move code
value: "${{ steps.diff.outputs.isMove }}"

runs:
using: composite
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # Pin v4.1.1
- name: Detect Changes
uses: dorny/[email protected]
id: diff
with:
filters: |
isDoc:
- 'src/'
- '.github/workflows/docs.yml'
isMove:
- 'samples/'
- 'postcard/'
38 changes: 0 additions & 38 deletions hello/Move.toml

This file was deleted.

6 changes: 0 additions & 6 deletions hello/sources/hello.move

This file was deleted.

21 changes: 0 additions & 21 deletions hello/tests/hello_tests.move

This file was deleted.

0 comments on commit cc1d835

Please sign in to comment.