File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 7
7
branches : [master]
8
8
9
9
jobs :
10
+ configure :
11
+ runs-on : ubuntu-latest
12
+ outputs :
13
+ uid_gid : ${{ steps.get-user.outputs.uid_gid }}
14
+ steps :
15
+ - id : get-user
16
+ run : echo "::set-output name=uid_gid::$(id -u):$(id -g)"
17
+
10
18
clone-and-install :
19
+ needs : configure
11
20
runs-on : ubuntu-latest
12
- container : mcr.microsoft.com/vscode/devcontainers/base:ubuntu
21
+ container :
22
+ image : mcr.microsoft.com/vscode/devcontainers/base:ubuntu
23
+ options : --user ${{ needs.configure.outputs.uid_gid }}
13
24
steps :
14
25
- uses : actions/checkout@v2
15
26
- run : ./install
16
27
- run : ' "$HOME/.local/bin/chezmoi" data'
17
28
18
29
convenience-script :
30
+ needs : configure
19
31
runs-on : ubuntu-latest
20
- container : mcr.microsoft.com/vscode/devcontainers/base:ubuntu
32
+ container :
33
+ image : mcr.microsoft.com/vscode/devcontainers/base:ubuntu
34
+ options : --user ${{ needs.configure.outputs.uid_gid }}
21
35
steps :
22
36
- run : sh -c "$(wget -qO- 'https://raw.githubusercontent.com/felipecassiors/dotfiles/${{ github.sha }}/scripts/install_dotfiles.sh')"
23
37
- run : ' "$HOME/.local/bin/chezmoi" data'
You can’t perform that action at this time.
0 commit comments