change filemode

This commit is contained in:
wenmeng.zwm
2022-10-12 11:20:07 +08:00
parent ca7189e77a
commit 51e268dc97

View File

@@ -41,6 +41,14 @@ jobs:
# The type of runner that the job will run on
runs-on: [modelscope-self-hosted]
steps:
- name: ResetFileMode
shell: bash
run: |
# reset filemode to allow action runner to delete files
# generated by root in docker
set -e
sudo chown -R $USER:$USER $ACTION_RUNNER_DIR
- name: Checkout
uses: actions/checkout@v2
with: