File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,22 @@ permissions:
99 contents : write
1010
1111jobs :
12+ pre_job :
13+ runs-on : ubuntu-latest
14+ outputs :
15+ should_skip : ${{ steps.skip_check.outputs.should_skip }}
16+ paths_result : ${{ steps.skip_check.outputs.paths_result }}
17+ steps :
18+ - id : skip_check
19+ uses : fkirc/skip-duplicate-actions@v5
20+ with :
21+ paths_filter : |
22+ app:
23+ paths:
24+ - 'app/**'
25+
1226 build :
27+ needs : pre_job
1328 name : Build and Release
1429 environment : Deploy
1530 runs-on : ubuntu-latest
4964
5065 - run : fastlane android deploy
5166 working-directory : ./app
67+ if : needs.pre_job.outputs.should_skip != 'true' || !fromJSON(needs.pre_job.outputs.paths_result).app.should_skip
5268 env :
5369 GOOGLE_JSON_KEY : ${{ secrets.GOOGLE_JSON_KEY }}
5470 VERSION : ${{ steps.tagger.outputs.new_tag }}
You can’t perform that action at this time.
0 commit comments