mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-19 13:46:03 +10:00
(experiment) reset permissions before checking out
This commit is contained in:
10
.github/workflows/linux.yml
vendored
10
.github/workflows/linux.yml
vendored
@@ -32,6 +32,16 @@ jobs:
|
|||||||
image: vscodium/vscodium-linux-build-agent:stretch-armhf
|
image: vscodium/vscodium-linux-build-agent:stretch-armhf
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get Actions user id
|
||||||
|
id: get_uid
|
||||||
|
run: |
|
||||||
|
actions_user_id=`id -u $USER`
|
||||||
|
echo $actions_user_id
|
||||||
|
echo ::set-output name=uid::$actions_user_id
|
||||||
|
- name: Correct Ownership in GITHUB_WORKSPACE directory
|
||||||
|
uses: peter-murray/reset-workspace-ownership-action@v1
|
||||||
|
with:
|
||||||
|
user_id: ${{ steps.get_uid.outputs.uid }}
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Node.js environment
|
- name: Setup Node.js environment
|
||||||
|
|||||||
Reference in New Issue
Block a user