我正在运行一个 GitHub Actions 工作流,但出现以下错误。
Translated:我正在运行一个GitHub Actions工作流,但是遇到了以下错误。
Unhandled exception:
FileSystemException: Cannot create file, path = '/github/home/.flutter' (OS Error: Permission denied, errno = 13)
我查看了GitHub Actions的工作流语法,但没有找到解决这个问题的任何指示。
我的构建文件看起来像这样:
name: Flutter CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container:
image: cirrusci/flutter:v1.7.8-hotfix.4
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: flutter pub get
working-directory: my_app
- name: Run tests
run: flutter test