fix: path not allowed on the configured scope

This commit is contained in:
lencx
2022-12-23 21:56:16 +08:00
parent 8193104853
commit 44c91bc85c
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ jobs:
shell: bash shell: bash
run: | run: |
echo "using version tag ${GITHUB_REF:10}" echo "using version tag ${GITHUB_REF:10}"
echo ::set-output name=version::"${GITHUB_REF:10}" echo ::save-state name=version::"${GITHUB_REF:10}"
- name: Create Release - name: Create Release
id: create_release id: create_release
@@ -63,7 +63,7 @@ jobs:
- name: Get yarn cache directory path - name: Get yarn cache directory path
id: yarn-cache-dir-path id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)" run: echo "::save-state name=dir::$(yarn config get cacheFolder)"
- name: Yarn cache - name: Yarn cache
uses: actions/cache@v2 uses: actions/cache@v2

View File

@@ -22,7 +22,7 @@
"fs": { "fs": {
"all": true, "all": true,
"scope": [ "scope": [
"$HOME/**" "**"
] ]
} }
}, },