We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7e9fec commit 3a7bf6bCopy full SHA for 3a7bf6b
1 file changed
action.yml
@@ -87,9 +87,16 @@ runs:
87
echo "::set-output name=compare_state::compatible"
88
fi
89
shell: bash
90
- - name: "Post: Change folder own group"
+ - name: Check file existence
91
+ id: check_files
92
+ uses: andstor/file-existence-action@v1
93
+ with:
94
+ files: ".tmp"
95
+ - name: "Change folder own group"
96
+ if: steps.check_files.outputs.files_exists == 'true'
97
run: sudo chown -R $USER:$USER .tmp
98
- - name: "Post: Remove .tmp directory"
99
+ - name: "Remove .tmp directory"
100
101
run: rm -fr .tmp
102
0 commit comments