Skip to content

Commit 101e285

Browse files
committed
fix(ci): swap user from pcr to root in container
1 parent a771943 commit 101e285

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ jobs:
2727
artifact:
2828
runs-on: ubuntu-latest
2929
needs: [image]
30-
container: mpsq/emacs-native-comp-wayland-builder:latest
30+
container:
31+
image: mpsq/emacs-native-comp-wayland-builder:latest
32+
options: --user root
3133
steps:
3234
- name: Get name
3335
run: |
34-
sudo echo "emacs_artifact_name=$(ls /home/pcr)" >> $GITHUB_ENV
36+
echo "emacs_artifact_name=$(ls /home/pcr)" >> $GITHUB_ENV
3537
- uses: actions/upload-artifact@v2
3638
with:
3739
name: ${{ env.emacs_artifact_name }}

0 commit comments

Comments
 (0)