Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
gnuton committed Jan 23, 2024
1 parent 11f2b12 commit 2e611d4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
GIT_REPO: "https://github.com/gnuton/asuswrt-merlin.ng.git"
PROJECT_DIR: "/project/asuswrt-merlin.ng"
UI: "none"
options: --user docker
options: --user root
volumes:
- ${{ github.workspace }}:/project
steps:
Expand All @@ -23,11 +23,17 @@ jobs:
pwd
echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
chown docker /project
chgrp docker /project
cd /project
su - docker
git clone --single-branch --branch master $GIT_REPO
ls /home/docker
- name: "Build"
run: |
echo "----- I am: $(id) -----"
su - docker
echo "----- I am: $(id) -----"
cd ${PROJECT_DIR}/release/${SDK}
echo "----- Files in dir: $(pwd) -----"
ls -alh
Expand Down

0 comments on commit 2e611d4

Please sign in to comment.